Skip to content

//core/io.islandtime/UtcOffset/toComponentValues

toComponentValues

common

inline fun <T> toComponentValues(action: (sign: Int, hours: Int, minutes: Int, seconds: Int) -> T): T

Breaks a UTC offset down into components. The sign will indicate whether the offset is positive or negative while each component will be positive.

common

inline fun <T> toComponentValues(action: (hours: Int, minutes: Int, seconds: Int) -> T): T

Breaks a UTC offset down into components. If the offset is negative, each component will be negative.