DateRangeContains(DateTimeOffset) Method

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

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
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