OffsetConversionStrategy

enum OffsetConversionStrategy : Enum<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.

Entries

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.

PRESERVE_INSTANT
Link copied to clipboard
common

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

Properties

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