lengthInDays

val DateRange.lengthInDays: Days

The number of days between the start and end of this range. A range is inclusive, so if the start and end date are the same, the length will be one day.

Throws

if the range isn't bounded

val DateTimeInterval.lengthInDays: Days
val OffsetDateTimeInterval.lengthInDays: Days
val ZonedDateTimeInterval.lengthInDays: Days

The number of whole days between the start and end of this interval.

Throws

if the interval isn't bounded