C# Class org.GraphDefined.Vanaheimr.Illias.TimeSpanMinMax

Min/Max values for TimeSpans.
Mostrar archivo Open project: Vanaheimr/Illias Class Usage Examples

Public Methods

Method Description
FromMax ( System.TimeSpan MaxValue ) : TimeSpanMinMax

Create a new half-open definition having just a maximum value.

FromMin ( System.TimeSpan MinValue ) : TimeSpanMinMax

Create a new half-open definition having just a minimum value.

GetHashCode ( ) : Int32

Get the hashcode of this object.

TimeSpanMinMax ( System.TimeSpan Min, System.TimeSpan Max ) : System

Creates a new range of TimeSpan values.

ToString ( ) : String

Get a string representation of this object.

Method Details

FromMax() public static method

Create a new half-open definition having just a maximum value.
public static FromMax ( System.TimeSpan MaxValue ) : TimeSpanMinMax
MaxValue System.TimeSpan The maximum value.
return TimeSpanMinMax

FromMin() public static method

Create a new half-open definition having just a minimum value.
public static FromMin ( System.TimeSpan MinValue ) : TimeSpanMinMax
MinValue System.TimeSpan The minimum value.
return TimeSpanMinMax

GetHashCode() public method

Get the hashcode of this object.
public GetHashCode ( ) : Int32
return System.Int32

TimeSpanMinMax() public method

Creates a new range of TimeSpan values.
public TimeSpanMinMax ( System.TimeSpan Min, System.TimeSpan Max ) : System
Min System.TimeSpan The minimum value or lower bound.
Max System.TimeSpan The maximum value or upper bound.
return System

ToString() public method

Get a string representation of this object.
public ToString ( ) : String
return String