//core/io.islandtime.zone/TimeZoneOffsetTransition
TimeZoneOffsetTransition¶
common
interface TimeZoneOffsetTransition
A discontinuity in the local timeline, usually caused by daylight savings time changes.
Properties¶
Name | Summary |
---|---|
dateTimeAfter | common abstract val dateTimeAfter: DateTime The date and time of day at the end of the transition. |
dateTimeBefore | common abstract val dateTimeBefore: DateTime The date and time of day at the start of the transition. |
duration | common abstract val duration: Seconds The duration of the transition period in seconds. |
isGap | common abstract val isGap: Boolean Checks if this is a gap, meaning that there are clock times that go "missing". |
isOverlap | common abstract val isOverlap: Boolean Checks if this is an overlap, meaning that there are clock times that exist twice. |
offsetAfter | common abstract val offsetAfter: UtcOffset The UTC offset after the transition. |
offsetBefore | common abstract val offsetBefore: UtcOffset The UTC offset before the transition. |
validOffsets | common open val validOffsets: List<UtcOffset> Gets 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. |