Click or drag to resize

DateRange(IEnumerableDateTimeOffset) Constructor

Creates a new instance of DateRange from a generic list of DateTimeOffset values.

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public DateRange(
	IEnumerable<DateTimeOffset> dateList
)

Parameters

dateList  IEnumerableDateTimeOffset
The list of DateTimeOffset values to use.
Exceptions
ExceptionCondition
ArgumentNullExceptiondateList is null
ArgumentExceptiondateList does not contain any items
Remarks
The DateRange will use the minimum and maximum values of the enumerable list for its Lower and Upper members, respectively. IsUpperInclusive and IsLowerInclusive will be set to true.
See Also