Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DDuration.java242 int nos = (int) Math.floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofSeconds() local
243 return create(secs, nos); in ofSeconds()
276 int nos = (int) (nanos % NANOS_PER_SECOND); in ofNanos() local
277 if (nos < 0) { in ofNanos()
278 nos += NANOS_PER_SECOND; in ofNanos()
281 return create(secs, nos); in ofNanos()
DInstant.java323 int nos = (int)Math.floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofEpochSecond() local
324 return create(secs, nos); in ofEpochSecond()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKInstant.java163 private void check(Instant instant, long epochSecs, int nos) { in check() argument
165 assertEquals(instant.getNano(), nos); in check() local