[This is preliminary documentation and is subject to change.]The DateInterval type exposes the following members.
Constructs a date interval from a start date and an inclusive end date.
|DateInterval(LocalDate, LocalDate, Boolean)|
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.
Checks whether the given date is within this date interval. This requires that the date is not earlier than the start date, and not later than the end date. If the given date is exactly equal to the end date, it is considered to be within the interval if and only if the interval is Inclusive.
Compares the given object for equality with this one, as per Equals(DateInterval).(Overrides Object Equals(Object).)
Compares the given date interval for equality with this one.
Returns the hash code for this interval, consistent with Equals(DateInterval).(Overrides Object GetHashCode .)
Returns a string representation of this interval.(Overrides Object ToString .)
Compares two DateInterval values for equality.
Compares two DateInterval values for inequality.
Gets the end date of the interval.
Indicates whether or not this interval includes its end date.
Gets the length of this date interval in days.
Gets the start date of the interval, which is always included in the interval.