OffsetConversionStrategy

Strategy to use when converting a local date-time accompanied by a UtcOffset to a date and time that are valid according to the rules of a TimeZone.

enum OffsetConversionStrategy : Enum<OffsetConversionStrategy>

Entries

PRESERVE_INSTANT
Link copied to clipboard
common

Preserve the instant on the timeline, ignoring the local time.

PRESERVE_LOCAL_TIME
Link copied to clipboard
common

Preserve the local date and time in the new time zone (if possible), adjusting the offset if needed.

Functions

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

Properties

name
Link copied to clipboard
common
override val name: String
ordinal
Link copied to clipboard
common
override val ordinal: Int