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