core / io.islandtime / TimeZone / localizedName

localizedName

(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun localizedName(style: TimeZoneTextStyle, locale: <ERROR CLASS> = defaultLocale()): String?

The localized name of this time zone, if available for the locale in the specified style. The result depends on the configured TimeZoneTextProvider and may differ between platforms.

Example output for the "America/New_York" ID and "en-US" locale:

See Also

displayName

(jvm) fun localizedName(style: TimeZoneTextStyle, locale: Locale = defaultLocale()): String?

The localized name of this time zone, if available for the locale in the specified style. The result depends on the configured TimeZoneTextProvider and may differ between platforms.

Example output for the "America/New_York" ID and "en-US" locale:

See Also

displayName