as Zoned Date Time Interval
fun OffsetDateTimeInterval.asZonedDateTimeInterval(): ZonedDateTimeInterval
Content copied to clipboard
Converts this interval to an equivalent ZonedDateTimeInterval where both endpoints are given a fixed-offset time zone.
This comes with the caveat that a fixed-offset zone lacks knowledge of any region and will not respond to daylight savings time changes. To convert each endpoint to a region-based zone, use toZonedDateTimeInterval instead.