id
Returns the identifier string of the time zone.
This identifier can be used later for finding this time zone with TimeZone.of function.
Samples
import kotlinx.datetime.*
import kotlinx.datetime.format.*
import kotlin.test.*
fun main() {
//sampleStart
// Getting the ID of a time zone
check(TimeZone.of("America/New_York").id == "America/New_York")
//sampleEnd
}