Home
last modified time | relevance | path

Searched refs:SECONDS_PER_MINUTE (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java169 static final int SECONDS_PER_MINUTE = 60; field in LocalTime
173 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR;
193 static final long NANOS_PER_MINUTE = NANOS_PER_SECOND * SECONDS_PER_MINUTE;
355 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay()
356 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay()
1115 minute * SECONDS_PER_MINUTE + second; in plusSeconds()
1121 int newMinute = (newSofd / SECONDS_PER_MINUTE) % MINUTES_PER_HOUR; in plusSeconds()
1122 int newSecond = newSofd % SECONDS_PER_MINUTE; in plusSeconds()
1148 int newSecond = (int) ((newNofd / NANOS_PER_SECOND) % SECONDS_PER_MINUTE); in plusNanos()
1446 total += minute * SECONDS_PER_MINUTE; in toSecondOfDay()
DZoneOffset.java66 import static java.time.LocalTime.SECONDS_PER_MINUTE;
394 return hours * SECONDS_PER_HOUR + minutes * SECONDS_PER_MINUTE + seconds; in totalSeconds()
411 if (totalSeconds % (15 * SECONDS_PER_MINUTE) == 0) { in ofTotalSeconds()
445 int absMinutes = (absTotalSeconds / SECONDS_PER_MINUTE) % MINUTES_PER_HOUR; in buildId()
449 int absSeconds = absTotalSeconds % SECONDS_PER_MINUTE; in buildId()
DDuration.java67 import static java.time.LocalTime.SECONDS_PER_MINUTE;
203 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0); in ofMinutes()
395 long minsAsSecs = parseNumber(text, minuteMatch, SECONDS_PER_MINUTE, "minutes"); in parse()
753 return plus(Math.multiplyExact(minutesToAdd, SECONDS_PER_MINUTE), 0); in plusMinutes()
1148 return seconds / SECONDS_PER_MINUTE; in toMinutes()
1265 int minutes = (int) ((seconds % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE); in toString()
1266 int secs = (int) (seconds % SECONDS_PER_MINUTE); in toString()
DInstant.java67 import static java.time.LocalTime.SECONDS_PER_MINUTE;
851 … case MINUTES: return plusSeconds(Math.multiplyExact(amountToAdd, SECONDS_PER_MINUTE)); in plus()
1146 case MINUTES: return secondsUntil(end) / SECONDS_PER_MINUTE; in until()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java192 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/
DChronoLocalDateTimeImpl.java122 static final int SECONDS_PER_MINUTE = 60; field in ChronoLocalDateTimeImpl
126 static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR;
146 static final long NANOS_PER_MINUTE = NANOS_PER_SECOND * SECONDS_PER_MINUTE;