//core/io.islandtime/OffsetConversionStrategy
OffsetConversionStrategy¶
common
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 | common PRESERVE_LOCAL_TIME ()Preserve the local date and time in the new time zone (if possible), adjusting the offset if needed. |
PRESERVE_INSTANT | common PRESERVE_INSTANT ()Preserve the instant on the timeline, ignoring the local time. |
Properties¶
Name | Summary |
---|---|
name | common val name: String |
ordinal | common val ordinal: Int |