//core/io.islandtime.measures/Duration/truncatedTo
truncatedTo¶
common
fun truncatedTo(unit: TimeUnit): Duration
Returns this duration, rounded down to match the precision of a given unit.
//core/io.islandtime.measures/Duration/truncatedTo
common
fun truncatedTo(unit: TimeUnit): Duration
Returns this duration, rounded down to match the precision of a given unit.