core / io.islandtime.zone / PlatformTimeZoneRulesProvider

PlatformTimeZoneRulesProvider

(iosArm64, iosX64, jvm, macosX64) object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider

The default time zone rules provider implementation for the current platform.

Properties

availableRegionIds

The available time zone region IDs as reported by the underlying provider.

(iosArm64, iosX64, macosX64) val availableRegionIds: <ERROR CLASS>
(jvm) val availableRegionIds: Set<String>
(iosArm64, iosX64, jvm, macosX64)

databaseVersion

The time zone database version or an empty string if unavailable.

val databaseVersion: String

Functions

(iosArm64, iosX64, jvm, macosX64)

hasRulesFor

Check if regionId has rules associated with it.

fun hasRulesFor(regionId: String): Boolean
(iosArm64, iosX64, jvm, macosX64)

rulesFor

Get the rules associated with a particular region ID.

fun rulesFor(regionId: String): TimeZoneRules