core / io.islandtime / TimeZone / validate

validate

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun validate(): Unit

Checks if this time zone is valid and throws an exception if it isn't.

Exceptions

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

See Also

isValid