core / io.islandtime / UtcOffset / validate

validate

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

Checks if the offset is valid and throws an exception if it isn't.

Exceptions

DateTimeException - if the offset is outside the supported range

See Also

isValid