Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_Tick.java88 …t = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000_000).toInstant(), PARIS), Duration.ofMillis(250)); in test_tick_ClockDuration_250millis()
192 Clock test = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test_withZone()
199 Clock test = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test_withZone_equal()
206 Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)).withZone(null); in test_withZone_null()
211 Clock a = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test__equals()
212 Clock b = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test__equals()
218 Clock c = Clock.tick(Clock.system(MOSCOW), Duration.ofMillis(500)); in test__equals()
221 Clock d = Clock.tick(Clock.system(PARIS), Duration.ofMillis(499)); in test__equals()
230 Clock a = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test_hashCode()
231 Clock b = Clock.tick(Clock.system(PARIS), Duration.ofMillis(500)); in test_hashCode()
[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/annotations/hiddenapi/java/time/
DDuration.java97 public static java.time.Duration ofMillis(long millis) { in ofMillis() method in Duration
/libcore/ojluni/src/main/java/java/time/
DDuration.java255 public static Duration ofMillis(long millis) { in ofMillis() method in Duration