Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DInstant.java750 long dur = unitDur.toNanos(); in truncatedTo() local
751 if ((LocalTime.NANOS_PER_DAY % dur) != 0) { in truncatedTo()
755 long result = (nod / dur) * dur; in truncatedTo()
DLocalTime.java951 long dur = unitDur.toNanos(); in truncatedTo() local
952 if ((NANOS_PER_DAY % dur) != 0) { in truncatedTo()
956 return ofNanoOfDay((nod / dur) * dur); in truncatedTo()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKOffsetDateTime.java936 Duration dur = Duration.ofSeconds(62, 3);
937 OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.plus(dur);
1047 Duration dur = Duration.ofSeconds(62, 3);
1048 OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.minus(dur);