PlatformTimeZoneRulesProvider

object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider

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

object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider

A time zone rules provider that draws from the database included on Darwin platforms.

object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider

A time zone rules provider that draws from the database built into the java.time library.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
open operator fun equals(other: Any?): Boolean
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
open fun hashCode(): Int
open fun hashCode(): Int
hasRulesFor
Link copied to clipboard
darwin
open override fun hasRulesFor(regionId: String): Boolean
Checks if regionId has rules associated with it.
open override fun hasRulesFor(regionId: String): Boolean
Checks if regionId has rules associated with it.
common
abstract fun hasRulesFor(regionId: String): Boolean
Checks if regionId has rules associated with it.
rulesFor
Link copied to clipboard
darwin
open override fun rulesFor(regionId: String): TimeZoneRules
Gets the rules associated with a particular region ID.
open override fun rulesFor(regionId: String): TimeZoneRules
Gets the rules associated with a particular region ID.
common
abstract fun rulesFor(regionId: String): TimeZoneRules
Gets the rules associated with a particular region ID.
toString
Link copied to clipboard
open fun toString(): String
open fun toString(): String
open fun toString(): String

Properties

availableRegionIds
Link copied to clipboard
common
abstract val availableRegionIds: Set<String>
The available time zone region IDs as reported by the underlying provider.
availableRegionIds
Link copied to clipboard
darwin
open override val availableRegionIds: Set<String>
The available time zone region IDs as reported by the underlying provider.
availableRegionIds
Link copied to clipboard
open override val availableRegionIds: Set<String>
The available time zone region IDs as reported by the underlying provider.
databaseVersion
Link copied to clipboard
common
open val databaseVersion: String
The time zone database version or an empty string if unavailable.
databaseVersion
Link copied to clipboard
darwin
open override val databaseVersion: String
The time zone database version or an empty string if unavailable.
databaseVersion
Link copied to clipboard
open override val databaseVersion: String
The time zone database version or an empty string if unavailable.