TimeZoneOffsetTransition

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

interface TimeZoneOffsetTransition

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

dateTimeAfter
Link copied to clipboard
common

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

abstract val dateTimeAfter: DateTime
dateTimeBefore
Link copied to clipboard
common

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

abstract val dateTimeBefore: DateTime
duration
Link copied to clipboard
common

The duration of the transition period in seconds.

abstract val duration: IntSeconds
isGap
Link copied to clipboard
common

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

abstract val isGap: Boolean
isOverlap
Link copied to clipboard
common

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

abstract val isOverlap: Boolean
offsetAfter
Link copied to clipboard
common

The UTC offset after the transition.

abstract val offsetAfter: UtcOffset
offsetBefore
Link copied to clipboard
common

The UTC offset before the transition.

abstract val offsetBefore: UtcOffset
validOffsets
Link copied to clipboard
common

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.

open val validOffsets: List<UtcOffset>