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