Click or drag to resize

DateRangeContains(DateTimeOffset) Method

Returns true if the given DateTimeOffset is contained within this range.

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public bool Contains(
	DateTimeOffset value
)

Parameters

value  DateTimeOffset
The DateTimeOffset to compare with this range.

Return Value

Boolean
true if value is contained within this range.

Implements

IRangeTContains(T)
Remarks
A range contains values exactly equal to its lower or upper bound only when IsLowerInclusive or IsUpperInclusive is true, respectively.
See Also