Noda Time
Contains Method (instant)
NamespacesNodaTimeIntervalContains(Instant)

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

Returns whether or not this interval contains the given instant.
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)
Instant to test.
Return Value
True if this interval contains the given instant; false otherwise.
Remarks
The interval is considered to include the Start instant but not the End instant - unless the end is MaxValue, in which case it's considered to be infinite from the start point onwards.

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