DateTimeRange Properties

The date-time range.
Name Description
Duration Returns the duration of the range.
Empty static Returns an empty date-time range.
End Returns the end date-time value of the range.
IsEmpty Returns whether the range's start and end values equal to DateTime.MinValue.
IsValid Returns whether the end value is larger than or equal to the start value.
Start Returns the end date-time value of the range.
Today static Returns an date-time range that specifies today.
See Also