Click or drag to resize

IPeriods Methods

The IPeriods type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add a IPeriod to the list
Public methodClear
Removes all elements from the List.
Public methodContains
Decides whether a time is contained in the period
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIPeriod.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire List.
Public methodRemove
Removes the first occurrence of a specific object from the List.
Public methodRemoveAt
Removes the element at the specified index of the List.
Public methodToArray
Copies all elements of the list to an array.
Top
Extension Methods
  NameDescription
Public Extension MethodInclude
Checks whether the datetime parameter is included in at least one of the periods.
(Defined by Res1DExtensions.)
Top
See Also