fun hoursBetween(start: DateTime, endExclusive: DateTime): LongHours
Get the number of whole hours between two date-times, assuming they have the same UTC offset. In general, it's more appropriate to calculate duration using Instant or ZonedDateTime as any daylight savings rules won't be taken into account when working with DateTime directly.
(iosArm64, iosX64, jvm, macosX64)fun <T1, T2> hoursBetween(start: TimePoint<T1>, endExclusive: TimePoint<T2>): LongHours
Get the number of whole hours between two time points.