core / io.islandtime.ranges / DateTimeInterval / lengthInSeconds

lengthInSeconds

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) val lengthInSeconds: LongSeconds

Get the number of whole seconds in the interval.

Exceptions

UnsupportedOperationException - if the interval isn't bounded