Searched refs:SECONDS_PER_MINUTE (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 169 static final int SECONDS_PER_MINUTE = 60; field in LocalTime 173 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; 197 static final long NANOS_PER_MINUTE = NANOS_PER_SECOND * SECONDS_PER_MINUTE; 379 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay() 380 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay() 1138 minute * SECONDS_PER_MINUTE + second; in plusSeconds() 1144 int newMinute = (newSofd / SECONDS_PER_MINUTE) % MINUTES_PER_HOUR; in plusSeconds() 1145 int newSecond = newSofd % SECONDS_PER_MINUTE; in plusSeconds() 1171 int newSecond = (int) ((newNofd / NANOS_PER_SECOND) % SECONDS_PER_MINUTE); in plusNanos() 1469 total += minute * SECONDS_PER_MINUTE; in toSecondOfDay()
|
D | ZoneOffset.java | 66 import static java.time.LocalTime.SECONDS_PER_MINUTE; 395 return hours * SECONDS_PER_HOUR + minutes * SECONDS_PER_MINUTE + seconds; in totalSeconds() 412 if (totalSeconds % (15 * SECONDS_PER_MINUTE) == 0) { in ofTotalSeconds() 446 int absMinutes = (absTotalSeconds / SECONDS_PER_MINUTE) % MINUTES_PER_HOUR; in buildId() 450 int absSeconds = absTotalSeconds % SECONDS_PER_MINUTE; in buildId()
|
D | Duration.java | 69 import static java.time.LocalTime.SECONDS_PER_MINUTE; 206 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0); in ofMinutes() 398 long minsAsSecs = parseNumber(text, minuteMatch, SECONDS_PER_MINUTE, "minutes"); in parse() 756 return plus(Math.multiplyExact(minutesToAdd, SECONDS_PER_MINUTE), 0); in plusMinutes() 1169 return seconds / SECONDS_PER_MINUTE; in toMinutes() 1281 return (int) (seconds % SECONDS_PER_MINUTE); in toSecondsPart() 1441 int minutes = (int) ((seconds % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE); in toString() 1442 int secs = (int) (seconds % SECONDS_PER_MINUTE); in toString()
|
D | Instant.java | 67 import static java.time.LocalTime.SECONDS_PER_MINUTE; 850 … case MINUTES: return plusSeconds(Math.multiplyExact(amountToAdd, SECONDS_PER_MINUTE)); in plus() 1144 case MINUTES: return secondsUntil(end) / SECONDS_PER_MINUTE; in until()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 192 private static final long SECONDS_PER_MINUTE = 60L; field in FileTime 193 private static final long SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; 244 secs = scale(value, SECONDS_PER_MINUTE, in toInstant() 245 Long.MAX_VALUE/SECONDS_PER_MINUTE); in toInstant()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 123 static final int SECONDS_PER_MINUTE = 60; field in ChronoLocalDateTimeImpl 127 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR; 147 static final long NANOS_PER_MINUTE = NANOS_PER_SECOND * SECONDS_PER_MINUTE;
|