Noda Time
Contains Method (instant)
NamespacesNodaTime.TimeZonesZoneIntervalContains(Instant)

[This is preliminary documentation and is subject to change.]

Determines whether this period contains the given Instant in its range.
Declaration Syntax
C#Visual BasicVisual C++
public bool Contains(
	Instant instant
)
Public Function Contains ( _
	instant As Instant _
) As Boolean
public:
bool Contains(
	Instant instant
)
Parameters
instant (Instant)
The instant to test.
Return Value
true if this period contains the given Instant in its range; otherwise, false.
Remarks
Usually this is half-open, i.e. the end is exclusive, but an interval with an end point of "the end of time" is deemed to be inclusive at the end.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)