PlatformTimeZoneRulesProvider

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.

object PlatformTimeZoneRulesProvider : TimeZoneRulesProvider

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
hasRulesFor
Link copied to clipboard

Checks if regionId has rules associated with it.

override fun hasRulesFor(regionId: String): Boolean
open override fun hasRulesFor(regionId: String): Boolean
open override fun hasRulesFor(regionId: String): Boolean
rulesFor
Link copied to clipboard

Gets the rules associated with a particular region ID.

override fun rulesFor(regionId: String): TimeZoneRules
open override fun rulesFor(regionId: String): TimeZoneRules
open override fun rulesFor(regionId: String): TimeZoneRules
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

availableRegionIds
Link copied to clipboard

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

In some cases, this may be only a subset of those actually supported. To check if a particular region ID can be handled, use hasRulesFor.

override val availableRegionIds: Set<String>

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

In some cases, this may be only a subset of those actually supported. To check if a particular region ID can be handled, use hasRulesFor.

open override val availableRegionIds: Set<String>

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

In some cases, this may be only a subset of those actually supported. To check if a particular region ID can be handled, use hasRulesFor.

open override val availableRegionIds: Set<String>
databaseVersion
Link copied to clipboard

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

open override val databaseVersion: String