toJavaZoneId

fun TimeZone.toJavaZoneId(): ZoneId

Converts this kotlinx.datetime.TimeZone value to a java.time.ZoneId value.