//core/io.islandtime.ranges/lengthInWeeks
lengthInWeeks¶
common
val DateRange.lengthInWeeks: Weeks
The number of whole weeks between the start and end of this range.
Throws¶
kotlin.UnsupportedOperationException | if the range isn't bounded |
common
val DateTimeInterval.lengthInWeeks: Weeks
val OffsetDateTimeInterval.lengthInWeeks: Weeks
val ZonedDateTimeInterval.lengthInWeeks: Weeks
The number of whole weeks between the start and end of this interval.
Throws¶
kotlin.UnsupportedOperationException | if the interval isn't bounded |