core / io.islandtime.ranges / DateTimeInterval / lengthInHours

lengthInHours

(iosArm64, iosX64, jvm, macosX64) val lengthInHours: LongHours

Get the number of whole hours in the interval.

Exceptions

UnsupportedOperationException - if the interval isn't bounded