interface TimeZoneRulesProvider
An abstraction that allows time zone rules to be supplied from any data source.
The set of supported identifiers is expected to vary depending on the source, but should typically represent regions defined in the IANA Time Zone Database.
(iosArm64, iosX64, jvm, macosX64)
Companion |
companion object Companion : TimeZoneRulesProvider |
(iosArm64, iosX64, jvm, macosX64)
availableRegionIds |
The available time zone region IDs as reported by the underlying provider. abstract val availableRegionIds: Set<String> |
(iosArm64, iosX64, jvm, macosX64)
databaseVersion |
The time zone database version or an empty string if unavailable. open val databaseVersion: String |
(iosArm64, iosX64, jvm, macosX64)
hasRulesFor |
Check if regionId has rules associated with it. abstract fun hasRulesFor(regionId: String): Boolean |
(iosArm64, iosX64, jvm, macosX64)
rulesFor |
Get the rules associated with a particular region ID. abstract fun rulesFor(regionId: String): TimeZoneRules |
(iosArm64, iosX64, jvm, macosX64)
Companion |
companion object Companion : TimeZoneRulesProvider |
(iosArm64, iosX64, jvm, macosX64)
PlatformTimeZoneRulesProvider |
The default time zone rules provider implementation for the current platform. object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider |