Click or drag to resize

DateRange(DateTime, DateTime, TimeSpan) Constructor

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

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public DateRange(
	DateTime lowerValue,
	DateTime upperValue,
	TimeSpan timeZoneOffset
)

Parameters

lowerValue  DateTime
The DateTime value representing the beginning of the date range.
upperValue  DateTime
The DateTime value representing the end of the date range.
timeZoneOffset  TimeSpan
The offset to use to establish the time zone of the DateRange.
Exceptions
ExceptionCondition
ArgumentExceptionlowerValue is greater than upperValue
See Also