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.java201 static final long NANOS_PER_HOUR = NANOS_PER_MINUTE * MINUTES_PER_HOUR; field in LocalTime
205 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
395 int hours = (int) (nanoOfDay / NANOS_PER_HOUR); in ofNanoOfDay()
396 nanoOfDay -= hours * NANOS_PER_HOUR; in ofNanoOfDay()
1169 int newHour = (int) (newNofd / NANOS_PER_HOUR); in plusNanos()
1411 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1412 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
1481 long total = hour * NANOS_PER_HOUR; in toNanoOfDay()
DOffsetTime.java64 import static java.time.LocalTime.NANOS_PER_HOUR;
1182 case HOURS: return nanosUntil / NANOS_PER_HOUR; in until()
1183 case HALF_DAYS: return nanosUntil / (12 * NANOS_PER_HOUR); in until()
DLocalDateTime.java69 import static java.time.LocalTime.NANOS_PER_HOUR;
1552 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()
1707 timePart = timePart / NANOS_PER_HOUR; in until()
1711 timePart = timePart / (NANOS_PER_HOUR * 12); in until()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java151 static final long NANOS_PER_HOUR = NANOS_PER_MINUTE * MINUTES_PER_HOUR; field in ChronoLocalDateTimeImpl
155 static final long NANOS_PER_DAY = NANOS_PER_HOUR * HOURS_PER_DAY;
349 (hours % HOURS_PER_DAY) * NANOS_PER_HOUR; // max 86400000000000 in plusWithOverflow()