Searched refs:tickNanos (Results 1 – 1 of 1) sorted by relevance
285 long tickNanos = tickDuration.toNanos(); in tick() local286 if (tickNanos % 1000_000 == 0) { in tick()288 } else if (1000_000_000 % tickNanos == 0) { in tick()293 if (tickNanos <= 1) { in tick()296 return new TickClock(baseClock, tickNanos); in tick()598 private final long tickNanos; field in Clock.TickClock600 TickClock(Clock baseClock, long tickNanos) { in TickClock() argument602 this.tickNanos = tickNanos; in TickClock()613 return new TickClock(baseClock.withZone(zone), tickNanos); in withZone()618 return millis - Math.floorMod(millis, tickNanos / 1000_000L); in millis()[all …]