Home
last modified time | relevance | path

Searched refs:HOURS_PER_DAY (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java110 static final int HOURS_PER_DAY = 24; field in ChronoLocalDateTimeImpl
118 static final int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
130 static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
154 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
350 hours / HOURS_PER_DAY; // max/24 in plusWithOverflow()
354 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()
384 case HOURS: amount = Math.multiplyExact(amount, HOURS_PER_DAY); break; in until()
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java157 static final int HOURS_PER_DAY = 24; field in LocalTime
165 static final int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
177 static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
201 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
1070 int newHour = ((int) (hoursToAdd % HOURS_PER_DAY) + hour + HOURS_PER_DAY) % HOURS_PER_DAY; in plusHours()
1216 return plusHours(-(hoursToSubtract % HOURS_PER_DAY)); in minusHours()
DLocalDateTime.java64 import static java.time.LocalTime.HOURS_PER_DAY;
1554 hours / HOURS_PER_DAY; // max/24 in plusWithOverflow()
1559 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()
1713 amount = Math.multiplyExact(amount, HOURS_PER_DAY); in until()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java190 private static final long HOURS_PER_DAY = 24L; field in FileTime
194 private static final long SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;