Searched refs:NANOS_PER_DAY (Results 1 – 6 of 6) 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()
155 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY; field in ChronoLocalDateTimeImpl342 long totDays = nanos / NANOS_PER_DAY + // max/24*60*60*1B in plusWithOverflow()346 long totNanos = nanos % NANOS_PER_DAY + // max 86400000000000 in plusWithOverflow()352 totDays += Math.floorDiv(totNanos, NANOS_PER_DAY); in plusWithOverflow()353 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()374 case NANOS: amount = Math.multiplyExact(amount, NANOS_PER_DAY); break; in until()
68 import static java.time.LocalTime.NANOS_PER_DAY;1544 long totDays = nanos / NANOS_PER_DAY + // max/24*60*60*1B in plusWithOverflow()1549 long totNanos = nanos % NANOS_PER_DAY + // max 86400000000000 in plusWithOverflow()1555 totDays += Math.floorDiv(totNanos, NANOS_PER_DAY); in plusWithOverflow()1556 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()1680 timePart += NANOS_PER_DAY; // safe in until()1683 timePart -= NANOS_PER_DAY; // safe in until()1687 amount = Math.multiplyExact(amount, NANOS_PER_DAY); in until()
205 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY; field in LocalTime975 if ((NANOS_PER_DAY % dur) != 0) { in truncatedTo()1165 long newNofd = ((nanosToAdd % NANOS_PER_DAY) + nofd + NANOS_PER_DAY) % NANOS_PER_DAY; in plusNanos()1284 return plusNanos(-(nanosToSubtract % NANOS_PER_DAY)); in minusNanos()
750 if ((LocalTime.NANOS_PER_DAY % dur) != 0) { in truncatedTo()
1356 if ((LocalTime.NANOS_PER_DAY % dur) != 0) { in truncatedTo()