toTimeZone

fun TimeZoneId.toTimeZone(): TimeZone(source)

Resolves this identifier against the runtime time zone database.

Throws

IllegalTimeZoneException

if the identifier is unknown on this platform