HomeSort by relevance Sort by last modified time
    Searched refs:withNano (Results 1 - 14 of 14) sorted by null

  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKClock_Tick.java 88 Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000_000).toInstant(), PARIS), Duration.ofMillis(250));
89 assertEquals(test.instant(), ZDT.withNano((i / 250) * 250_000_000).toInstant());
96 Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000).toInstant(), PARIS), Duration.ofNanos(250_000));
97 assertEquals(test.instant(), ZDT.withNano((i / 250) * 250_000).toInstant());
104 Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i).toInstant(), PARIS), Duration.ofNanos(20));
105 assertEquals(test.instant(), ZDT.withNano((i / 20) * 20).toInstant());
TCKLocalTime.java     [all...]
TCKLocalDateTime.java     [all...]
TCKOffsetTime.java     [all...]
TCKZonedDateTime.java     [all...]
TCKOffsetDateTime.java     [all...]
  /libcore/ojluni/src/main/java/java/time/
LocalTime.java     [all...]
OffsetTime.java     [all...]
OffsetDateTime.java     [all...]
LocalDateTime.java     [all...]
ZonedDateTime.java     [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/
TestLocalDateTime.java 206 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withNano(987654321);
212 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 0, 0, 1)).withNano(0);
218 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 0, 0, 1)).withNano(0);
TestOffsetDateTime.java 196 OffsetDateTime test = base.withNano(1);
  /prebuilts/sdk/current/
core.jar 

Completed in 206 milliseconds