DateInterval Constructor (LocalDate, LocalDate, Boolean)Noda Time

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

Constructs a date interval from a start date and an end date, and an indication of whether the end date should be included in the interval.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (

public DateInterval(
	LocalDate start,
	LocalDate end,
	bool inclusive

Return Value

A date interval between the specified dates, with the specified inclusivity.

OnlineSystem ArgumentExceptionend is earlier than start or the two dates are in different calendars.
Version Information

Available since: 2.0.0
Supported in the PCL? Yes
See Also