core / io.islandtime.format / TimeZoneTextProvider

TimeZoneTextProvider

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) interface TimeZoneTextProvider

An abstraction that allows localized time zone names to be supplied from different data sources.

Types

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

Companion

companion object Companion : TimeZoneTextProvider

Functions

timeZoneTextFor

Get the localized time zone text.

(jvm) open fun timeZoneTextFor(zone: TimeZone, style: TimeZoneTextStyle, locale: Locale): String?
(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) open fun timeZoneTextFor(zone: TimeZone, style: TimeZoneTextStyle, locale: <ERROR CLASS>): String?

Inheritors

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

Companion

companion object Companion : TimeZoneTextProvider
(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86)

PlatformTimeZoneTextProvider

The default provider of localized time zone text for the current platform.

object PlatformTimeZoneTextProvider : TimeZoneTextProvider