DateRange(DateTimeOffset, DateTimeOffset) Constructor

Creates a new instance of DateRange equal to the range between two DateTimeOffset values.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public DateRange(
	DateTimeOffset lowerValue,
	DateTimeOffset upperValue
)

Parameters

lowerValue  DateTimeOffset
The DateTimeOffset value representing the beginning of the date range.
upperValue  DateTimeOffset
The DateTimeOffset value representing the end of the date range.

Exceptions

ArgumentExceptionlowerValue is greater than upperValue

See Also