Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_Tick.java88 …Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000_000).toInstant(), PARIS), Duration.ofMil… in test_tick_ClockDuration_250millis()
96 …Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000).toInstant(), PARIS), Duration.ofNanos(2… in test_tick_ClockDuration_250micros()
104 … Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i).toInstant(), PARIS), Duration.ofNanos(20)); in test_tick_ClockDuration_20nanos()
112 Clock test = Clock.tick(underlying, Duration.ZERO); in test_tick_ClockDuration_zeroDuration()
118 Clock test = Clock.tick(underlying, Duration.ofNanos(1)); in test_tick_ClockDuration_1nsDuration()
124 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(Long.MAX_VALUE)); in test_tick_ClockDuration_maxDuration()
129 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 123)); in test_tick_ClockDuration_subMilliNotDivisible_123ns()
134 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 999)); in test_tick_ClockDuration_subMilliNotDivisible_999ns()
139 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 999_999_999)); in test_tick_ClockDuration_subMilliNotDivisible_999_999_999ns()
144 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, -1)); in test_tick_ClockDuration_negative1ns()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/
DTestClock_Tick.java86 Clock test = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test_withZone_same()
93 Clock test = Clock.tick(Clock.systemUTC(), Duration.ofMillis(500)); in test_toString()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKClockSerialization.java105 assertSerializable(Clock.tick(Clock.fixed(INSTANT, PARIS), AMOUNT)); in test_tickClockSerializable()
/libcore/ojluni/src/main/java/java/time/
DClock.java279 public static Clock tick(Clock baseClock, Duration tickDuration) { in tick() method in Clock