//core/io.islandtime.ranges/lengthInDays
lengthInDays¶
common
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¶
kotlin.UnsupportedOperationException | if the range isn't bounded |
common
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¶
kotlin.UnsupportedOperationException | if the interval isn't bounded |