TimeZoneOffsetTransition

interface TimeZoneOffsetTransition

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

Properties

dateTimeAfter
Link copied to clipboard
common
abstract val dateTimeAfter: DateTime

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

dateTimeBefore
Link copied to clipboard
common
abstract val dateTimeBefore: DateTime

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

duration
Link copied to clipboard
common
abstract val duration: Seconds

The duration of the transition period in seconds.

isGap
Link copied to clipboard
common
abstract val isGap: Boolean

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

isOverlap
Link copied to clipboard
common
abstract val isOverlap: Boolean

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

offsetAfter
Link copied to clipboard
common
abstract val offsetAfter: UtcOffset

The UTC offset after the transition.

offsetBefore
Link copied to clipboard
common
abstract val offsetBefore: UtcOffset

The UTC offset before the transition.

validOffsets
Link copied to clipboard
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.