Noda Time
Interval Constructor (start, end)
NamespacesNodaTimeIntervalInterval(Instant, Instant)

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

Initializes a new instance of the Interval struct. The interval includes the start instant and excludes the end instant. The end may equal the start (resulting in an empty interval), but must not be before the start.
Declaration Syntax
C#Visual BasicVisual C++
public Interval(
	Instant start,
	Instant end
)
Public Sub New ( _
	start As Instant, _
	end As Instant _
)
public:
Interval(
	Instant start, 
	Instant end
)
Parameters
start (Instant)
The start Instant.
end (Instant)
The end Instant.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionend is earlier than start.

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