IPeriods Methods

Methods

Add Add a IPeriod to the list
Clear Removes all elements from the List.
Contains Decides whether a time is contained in the period
Find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.
GetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableIPeriod)
IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire List.
Remove Removes the first occurrence of a specific object from the List.
RemoveAt Removes the element at the specified index of the List.
ToArray Copies all elements of the list to an array.

Extension Methods

Include Checks whether the datetime parameter is included in at least one of the periods.
(Defined by Res1DExtensions)

See Also