Skip to content

//core/io.islandtime.ranges/lengthInDecades

lengthInDecades

common

val DateRange.lengthInDecades: Decades

The number of whole decades between the start and end of this range.

Throws

UnsupportedOperationException if the range isn't bounded

common

val DateTimeInterval.lengthInDecades: Decades

val OffsetDateTimeInterval.lengthInDecades: Decades

val ZonedDateTimeInterval.lengthInDecades: Decades

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

Throws

UnsupportedOperationException if the interval isn't bounded