core / io.islandtime.zone / TimeZoneOffsetTransition

TimeZoneOffsetTransition

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) interface TimeZoneOffsetTransition

A discontinuity in the local timeline, usually caused by daylight savings time changes.

Properties

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

dateTimeAfter

The date and time of day at the end of the transition.

abstract val dateTimeAfter: DateTime
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

dateTimeBefore

The date and time of day at the start of the transition.

abstract val dateTimeBefore: DateTime
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

duration

The duration of the transition period in seconds.

abstract val duration: IntSeconds
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

isGap

Check if this is a gap, meaning that there are clock times that go "missing".

abstract val isGap: Boolean
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

isOverlap

Check if this is an overlap, meaning that there are clock times that exist twice.

abstract val isOverlap: Boolean
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

offsetAfter

The UTC offset after the transition.

abstract val offsetAfter: UtcOffset
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

offsetBefore

The UTC offset before the transition.

abstract val offsetBefore: UtcOffset
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

validOffsets

Get a list of the valid offsets during this transition. If this is gap, the list will be empty. If this is an overlap, the list will contain both the earlier and later offsets.

open val validOffsets: List<UtcOffset>