DateRange(IRangeDateTimeOffset) Constructor

Creates a new instance of DateRange from an existing date range value.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public DateRange(
	IRange<DateTimeOffset> dateRange
)

Parameters

dateRange  IRangeDateTimeOffset
The DateRange structure to copy.

Exceptions

ArgumentNullExceptiondateRange is null
ArgumentOutOfRangeExceptiondateRange.Lower is greater than dateRange.Upper

See Also