Home
last modified time | relevance | path

Searched refs:tickNanos (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DClock.java285 long tickNanos = tickDuration.toNanos(); in tick() local
286 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.TickClock
600 TickClock(Clock baseClock, long tickNanos) { in TickClock() argument
602 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 …]