Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java197 static final long NANOS_PER_HOUR = NANOS_PER_MINUTE * MINUTES_PER_HOUR; field in LocalTime
201 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
371 int hours = (int) (nanoOfDay / NANOS_PER_HOUR); in ofNanoOfDay()
372 nanoOfDay -= hours * NANOS_PER_HOUR; in ofNanoOfDay()
1146 int newHour = (int) (newNofd / NANOS_PER_HOUR); in plusNanos()
1388 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1389 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
1458 long total = hour * NANOS_PER_HOUR; in toNanoOfDay()
DOffsetTime.java64 import static java.time.LocalTime.NANOS_PER_HOUR;
1181 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1182 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
DLocalDateTime.java69 import static java.time.LocalTime.NANOS_PER_HOUR;
1559 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()
1714 timePart = timePart / NANOS_PER_HOUR; in until()
1718 timePart = timePart / (NANOS_PER_HOUR * 12); in until()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java150 static final long NANOS_PER_HOUR = NANOS_PER_MINUTE * MINUTES_PER_HOUR; field in ChronoLocalDateTimeImpl
154 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
354 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()