core / io.islandtime / UtcOffset / validate

validate

(iosArm64, iosX64, jvm, macosX64) fun validate(): Unit

Check if the offset is valid and throw an exception if it isn't.

Exceptions

DateTimeException - if the offset is outside the supported range

See Also

isValid