core / io.islandtime / TimeZone / Region

Region

(iosArm64, iosX64, jvm, macosX64) class Region : TimeZone

A named time zone, typically corresponding to a region identifier in the IANA Time Zone Database, but may be any name that can be understood by a TimeZoneRulesProvider.

Parameters

id - an ID that is understood by a time zone rules provider

Properties

(iosArm64, iosX64, jvm, macosX64)

id

an ID that is understood by a time zone rules provider

val id: String
(iosArm64, iosX64, jvm, macosX64)

isValid

Check if this is a valid time zone according to the current time zone rules provider.

val isValid: Boolean
(iosArm64, iosX64, jvm, macosX64)

rules

Get the rules associated with this time zone.

val rules: TimeZoneRules

Functions

(iosArm64, iosX64, jvm, macosX64)

equals

fun equals(other: Any?): Boolean
(iosArm64, iosX64, jvm, macosX64)

hashCode

fun hashCode(): Int
(iosArm64, iosX64, jvm, macosX64)

normalized

Get a normalized time zone.

fun normalized(): TimeZone