core / io.islandtime.ranges / DateTimeInterval / lengthInHours

lengthInHours

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) val lengthInHours: LongHours

Get the number of whole hours in the interval.

Exceptions

UnsupportedOperationException - if the interval isn't bounded