//core/io.islandtime/asUtcOffset
asUtcOffset¶
common
fun Hours.asUtcOffset(): UtcOffset
Converts a duration of hours into a UtcOffset of the same length.
Throws¶
ArithmeticException | if overflow occurs |
common
fun Minutes.asUtcOffset(): UtcOffset
Converts a duration of minutes into a UtcOffset of the same length.
Throws¶
ArithmeticException | if overflow occurs |
common
fun Seconds.asUtcOffset(): UtcOffset
Converts a duration of seconds into a UtcOffset of the same length.
Throws¶
ArithmeticException | if overflow occurs |