DateInterval Length Property Noda Time

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

Gets the length of this date interval in days.

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

public int Length { get; }

Property Value

Type: OnlineInt32
The length of this date interval in days.
Remarks

The end date is included or excluded according to the Inclusive property. For example, an inclusive interval where the start and end date are the same has a length of 1, whereas an exclusive interval for the same dates has a length of 0.
Version Information

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