TimeInterval Properties |
The TimeInterval type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Empty |
Gets an empty interval.
|
![]() ![]() | Infinite |
Gets an interval that represents the maximum possible span of time.
|
![]() | IsEmpty |
Gets a value indicating whether or not the interval is empty.
Emptiness is defined as either the stop time comes before the start time, or the interval represents zero duration with exclusive endpoints.
To probe if the amount of time contained in an interval is zero, convert to a duration using ToDuration and check for equality with Zero.
|
![]() | IsStartIncluded |
Gets a value indicating whether or not the Start date is
included in the interval.
|
![]() | IsStopIncluded |
Gets a value indicating whether or not the Stop date is
included in the interval.
|
![]() | Start |
Gets the start date of the interval.
|
![]() | Stop |
Gets the stop date of the interval.
|