//core/io.islandtime.measures/Duration/toComponentValues
toComponentValues¶
common
inline fun <T> toComponentValues(action: (days: Long, hours: Int, minutes: Int, seconds: Int, nanoseconds: Int) -> T): T
Breaks this duration down into individual unit components, assuming a 24-hour day length.
common
inline fun <T> toComponentValues(action: (hours: Long, minutes: Int, seconds: Int, nanoseconds: Int) -> T): T
inline fun <T> toComponentValues(action: (minutes: Long, seconds: Int, nanoseconds: Int) -> T): T
inline fun <T> toComponentValues(action: (seconds: Long, nanoseconds: Int) -> T): T
Breaks this duration down into individual unit components.