Searched refs:SECONDS_PER_HOUR (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 68 import static java.time.LocalTime.SECONDS_PER_HOUR; 191 return create(Math.multiplyExact(hours, SECONDS_PER_HOUR), 0); in ofHours() 397 long hoursAsSecs = parseNumber(text, hourMatch, SECONDS_PER_HOUR, "hours"); in parse() 743 return plus(Math.multiplyExact(hoursToAdd, SECONDS_PER_HOUR), 0); in plusHours() 1155 return seconds / SECONDS_PER_HOUR; in toHours() 1440 long hours = seconds / SECONDS_PER_HOUR; in toString() 1441 int minutes = (int) ((seconds % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE); in toString()
|
D | ZoneOffset.java | 65 import static java.time.LocalTime.SECONDS_PER_HOUR; 136 private static final int MAX_SECONDS = 18 * SECONDS_PER_HOUR; 395 return hours * SECONDS_PER_HOUR + minutes * SECONDS_PER_MINUTE + seconds; in totalSeconds() 445 int absHours = absTotalSeconds / SECONDS_PER_HOUR; in buildId()
|
D | LocalTime.java | 173 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; field in LocalTime 177 static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY; 377 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay() 378 secondOfDay -= hours * SECONDS_PER_HOUR; in ofSecondOfDay() 1137 int sofd = hour * SECONDS_PER_HOUR + in plusSeconds() 1143 int newHour = newSofd / SECONDS_PER_HOUR; in plusSeconds() 1468 int total = hour * SECONDS_PER_HOUR; in toSecondOfDay()
|
D | Instant.java | 66 import static java.time.LocalTime.SECONDS_PER_HOUR; 851 case HOURS: return plusSeconds(Math.multiplyExact(amountToAdd, SECONDS_PER_HOUR)); in plus() 1145 case HOURS: return secondsUntil(end) / SECONDS_PER_HOUR; in until() 1146 case HALF_DAYS: return secondsUntil(end) / (12 * SECONDS_PER_HOUR); in until()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 193 private static final long SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; field in FileTime 194 private static final long SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY; 240 secs = scale(value, SECONDS_PER_HOUR, in toInstant() 241 Long.MAX_VALUE/SECONDS_PER_HOUR); in toInstant()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 127 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; field in ChronoLocalDateTimeImpl 131 static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
|