set

fun set(value: Long, unit: ChronoUnit)

Given a value and ChronoUnit, replace any stored value for that unit with the given value.