/** as {@link #toMilliseconds()} but rounding away from zero (so 1 nanosecond gets rounded to 1 millisecond); * see {@link #toUnitRoundingUp(TimeUnit)}; provided as a convenience on top of {@link #toUnit(TimeUnit, RoundingMode)} * as this is a common case (when you want to make sure you wait at least a certain amount of time) */ public long toMillisecondsRoundingUp() { return toUnitRoundingUp(TimeUnit.MILLISECONDS); }