IANATimezone

data class IANATimezone(    val name: String,     val alternativeName: String,     val group: List<String>,     val continentCode: String,     val continentName: String,     val countryCode: String,     val countryName: String,     val mainCities: List<String>,     val rawOffsetInMinutes: Long,     val abbreviation: String)

Represents a timezone from the IANA Timezone Database.

Constructors

Link copied to clipboard
fun IANATimezone(    name: String,     alternativeName: String,     group: List<String>,     continentCode: String,     continentName: String,     countryCode: String,     countryName: String,     mainCities: List<String>,     rawOffsetInMinutes: Long,     abbreviation: String)

Properties

Link copied to clipboard
val abbreviation: String
Link copied to clipboard
val alternativeName: String
Link copied to clipboard
val continentCode: String
Link copied to clipboard
val continentName: String
Link copied to clipboard
val countryCode: String
Link copied to clipboard
val countryName: String
Link copied to clipboard
val group: List<String>
Link copied to clipboard
val mainCities: List<String>
Link copied to clipboard
val name: String
Link copied to clipboard
val rawOffsetInMinutes: Long

Extensions

Link copied to clipboard
fun IANATimezone.toZoneId(): ZoneId

Returns the ZoneId object of this IANA timezone.

Sources

Link copied to clipboard