Companion

expect object Companion
actual object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun currentSystemDefault(): TimeZone

Queries the current system time zone.

actual fun currentSystemDefault(): TimeZone
actual fun currentSystemDefault(): TimeZone
actual fun currentSystemDefault(): TimeZone
Link copied to clipboard
expect fun of(zoneId: String): TimeZone

Returns the time zone identified by the provided zoneId.

actual fun of(zoneId: String): TimeZone
actual fun of(zoneId: String): TimeZone
actual fun of(zoneId: String): TimeZone

Properties

Link copied to clipboard
expect val availableZoneIds: Set<String>

Queries the set of identifiers of time zones available in the system.

actual val availableZoneIds: Set<String>
actual val availableZoneIds: Set<String>
actual val availableZoneIds: Set<String>
Link copied to clipboard
expect val UTC: FixedOffsetTimeZone

Returns the time zone with the fixed UTC+0 offset.

actual val UTC: FixedOffsetTimeZone
actual val UTC: FixedOffsetTimeZone
actual val UTC: FixedOffsetTimeZone