validated

fun validated(): TimeZone

Ensures that this time zone is valid, throwing an exception if it isn't.

See also

Throws

if the current time zone rules provider doesn't support id