TimeIntervalCollection Properties |
The TimeIntervalCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of intervals in this interval collection.
|
![]() ![]() | Empty |
Gets an empty, read-only TimeIntervalCollection.
|
![]() ![]() | Infinite |
Gets an unbounded, infinite, read-only TimeIntervalCollection.
|
![]() | IsEmpty |
Gets a value indicating whether or not the interval collection is empty; where emptiness is defined as the count of intervals being equal to zero.
To probe if the amount of time contained in a collection is zero, convert to a duration using ToDuration and check for equality with Zero.
|
![]() | IsFrozen |
Gets a value indicating whether this object is frozen. A frozen object cannot be modified and an
ObjectFrozenException will be thrown if an attempt is made to do so.
|
![]() | IsInfinite |
Gets a value indicating whether or not the interval collection is infinite.
An infinite interval collection contains all possible times.
|
![]() | Item |
Gets the interval at the specified index.
|
![]() | Start |
Gets the start date of the first interval in the collection.
|
![]() | Stop |
Gets the stop date of the last interval in the collection
|