Click or drag to resize

DateRange(DateTimeOffset, TimeSpan) Constructor

Creates a new instance of DateRange from existing DateTimeOffset and TimeSpan values.

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

Parameters

lowerValue  DateTimeOffset
The DateTimeOffset value representing the beginning of the date range.
timeSpan  TimeSpan
The TimeSpan value representing the duration of the date range.
Exceptions
ExceptionCondition
ArgumentExceptiontimeSpan represents a negative value
See Also