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

Extention methods for time ranges.
Show file Open project: Vanaheimr/Illias

Public Methods

Method Description
To ( this TimeRange, Byte EndTime ) : TimeRange

Return a new time range having the end time set to the given value.

To ( this TimeRange, String EndTime ) : TimeRange

Return a new time range having the end time set to the given value.

To ( this TimeRange, Time EndTime ) : TimeRange

Return a new time range having the end time set to the given value.

Method Details

To() public static method

Return a new time range having the end time set to the given value.
public static To ( this TimeRange, Byte EndTime ) : TimeRange
TimeRange this A time range object.
EndTime Byte The new ending time.
return TimeRange

To() public static method

Return a new time range having the end time set to the given value.
public static To ( this TimeRange, String EndTime ) : TimeRange
TimeRange this A time range object.
EndTime String The new ending time.
return TimeRange

To() public static method

Return a new time range having the end time set to the given value.
public static To ( this TimeRange, Time EndTime ) : TimeRange
TimeRange this A time range object.
EndTime Time The new ending time.
return TimeRange