Searched refs:NANOS_PER_DAY (Results 1 – 5 of 5) sorted by relevance
78 static final long NANOS_PER_DAY = 24 * 60 * NANOS_PER_MINUTE; field in TestLocalTime200 diff = Math.floorMod(NANOS_PER_DAY + diff, NANOS_PER_DAY); in now()
154 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY; field in ChronoLocalDateTimeImpl347 long totDays = nanos / NANOS_PER_DAY + // max/24*60*60*1B in plusWithOverflow()351 long totNanos = nanos % NANOS_PER_DAY + // max 86400000000000 in plusWithOverflow()357 totDays += Math.floorDiv(totNanos, NANOS_PER_DAY); in plusWithOverflow()358 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()379 case NANOS: amount = Math.multiplyExact(amount, NANOS_PER_DAY); break; in until()
68 import static java.time.LocalTime.NANOS_PER_DAY;1551 long totDays = nanos / NANOS_PER_DAY + // max/24*60*60*1B in plusWithOverflow()1556 long totNanos = nanos % NANOS_PER_DAY + // max 86400000000000 in plusWithOverflow()1562 totDays += Math.floorDiv(totNanos, NANOS_PER_DAY); in plusWithOverflow()1563 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()1687 timePart += NANOS_PER_DAY; // safe in until()1690 timePart -= NANOS_PER_DAY; // safe in until()1694 amount = Math.multiplyExact(amount, NANOS_PER_DAY); in until()
201 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY; field in LocalTime952 if ((NANOS_PER_DAY % dur) != 0) { in truncatedTo()1142 long newNofd = ((nanosToAdd % NANOS_PER_DAY) + nofd + NANOS_PER_DAY) % NANOS_PER_DAY; in plusNanos()1261 return plusNanos(-(nanosToSubtract % NANOS_PER_DAY)); in minusNanos()
751 if ((LocalTime.NANOS_PER_DAY % dur) != 0) { in truncatedTo()