Home
last modified time | relevance | path

Searched refs:minutes (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java205 final int hours, minutes, seconds; in of() local
211 minutes = 0; in of()
216 minutes = parseNumber(offsetId, 3, false); in of()
221 minutes = parseNumber(offsetId, 4, true); in of()
226 minutes = parseNumber(offsetId, 3, false); in of()
231 minutes = parseNumber(offsetId, 4, true); in of()
242 return ofHoursMinutesSeconds(-hours, -minutes, -seconds); in of()
244 return ofHoursMinutesSeconds(hours, minutes, seconds); in of()
293 public static ZoneOffset ofHoursMinutes(int hours, int minutes) { in ofHoursMinutes() argument
294 return ofHoursMinutesSeconds(hours, minutes, 0); in ofHoursMinutes()
[all …]
DLocalDateTime.java1307 public LocalDateTime plusMinutes(long minutes) { in plusMinutes() argument
1308 return plusWithOverflow(date, 0, minutes, 0, 0, 1); in plusMinutes()
1502 public LocalDateTime minusMinutes(long minutes) { in minusMinutes() argument
1503 return plusWithOverflow(date, 0, minutes, 0, 0, -1); in minusMinutes()
1546 …private LocalDateTime plusWithOverflow(LocalDate newDate, long hours, long minutes, long seconds, … in plusWithOverflow() argument
1548 if ((hours | minutes | seconds | nanos) == 0) { in plusWithOverflow()
1553 minutes / MINUTES_PER_DAY + // max/24*60 in plusWithOverflow()
1558 (minutes % MINUTES_PER_DAY) * NANOS_PER_MINUTE + // max 86400000000000 in plusWithOverflow()
DLocalTime.java378 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay() local
379 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay()
380 return create(hours, minutes, (int) secondOfDay, 0); in ofSecondOfDay()
396 int minutes = (int) (nanoOfDay / NANOS_PER_MINUTE); in ofNanoOfDay() local
397 nanoOfDay -= minutes * NANOS_PER_MINUTE; in ofNanoOfDay()
400 return create(hours, minutes, seconds, (int) nanoOfDay); in ofNanoOfDay()
DDuration.java204 public static Duration ofMinutes(long minutes) { in ofMinutes() argument
205 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0); in ofMinutes()
1443 int minutes = (int) ((seconds % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE); in toString() local
1450 if (minutes != 0) { in toString()
1451 buf.append(minutes).append('M'); in toString()
DOffsetDateTime.java1298 public OffsetDateTime plusMinutes(long minutes) { in plusMinutes() argument
1299 return with(dateTime.plusMinutes(minutes), offset); in plusMinutes()
1487 public OffsetDateTime minusMinutes(long minutes) { in minusMinutes() argument
1488 …return (minutes == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMinutes(-minu… in minusMinutes()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarDate.java75 private int minutes; field in CalendarDate
239 return minutes; in getMinutes()
242 public CalendarDate setMinutes(int minutes) { in setMinutes() argument
243 if (this.minutes != minutes) { in setMinutes()
244 this.minutes = minutes; in setMinutes()
252 minutes += n; in addMinutes()
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay() argument
321 setMinutes(minutes); in setTimeOfDay()
327 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay() argument
329 addMinutes(minutes); in addTimeOfDay()
[all …]
DImmutableGregorianDate.java113 public CalendarDate setMinutes(int minutes) { in setMinutes() argument
157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { in setTimeOfDay() argument
161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { in addTimeOfDay() argument
DAbstractCalendar.java251 int minutes = time / MINUTE_IN_MILLIS; in setTimeOfDay() local
256 cdate.setMinutes(minutes); in setTimeOfDay()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java237 final BigInteger minutes, in newDuration() argument
274 final int minutes, in newDuration() argument
290 …BigInteger realMinutes = (minutes != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long… in newDuration()
411 int minutes = (int) (val % 60L); // 60 minutes per hour in newDurationDayTime() local
417 DatatypeConstants.FIELD_UNDEFINED, (int) days, hours, minutes, seconds); in newDurationDayTime()
422 BigInteger.valueOf(minutes), BigDecimal.valueOf(milliseconds, 3)); in newDurationDayTime()
428 BigInteger minutes = BigInteger.valueOf(val % 60L); // 60 minutes per hour in newDurationDayTime() local
433 return newDuration(isPositive, null, null, days, hours, minutes, seconds); in newDurationDayTime()
924 final int minutes, in newXMLGregorianCalendarTime() argument
933 minutes, in newXMLGregorianCalendarTime()
[all …]
DDuration.java908 BigInteger minutes = (BigInteger) getField(DatatypeConstants.MINUTES); in toString() local
910 if (hours != null || minutes != null || seconds != null) { in toString()
915 if (minutes != null) { in toString()
916 buf.append(minutes).append('M'); in toString()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarDate.java118 public sun.util.calendar.CalendarDate setMinutes(int minutes) { in setMinutes() argument
167 int hours, int minutes, int seconds, int millis) { in setTimeOfDay() argument
172 int hours, int minutes, int seconds, int millis) { in addTimeOfDay() argument
276 private int minutes; field in CalendarDate
DImmutableGregorianDate.java107 public sun.util.calendar.CalendarDate setMinutes(int minutes) { in setMinutes() argument
152 int hours, int minutes, int seconds, int millis) { in setTimeOfDay() argument
157 int hours, int minutes, int seconds, int millis) { in addTimeOfDay() argument
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java329 private ChronoLocalDateTimeImpl<D> plusMinutes(long minutes) { in plusMinutes() argument
330 return plusWithOverflow(date, 0, minutes, 0, 0); in plusMinutes()
342 …private ChronoLocalDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seco… in plusWithOverflow() argument
344 if ((hours | minutes | seconds | nanos) == 0) { in plusWithOverflow()
349 minutes / MINUTES_PER_DAY + // max/24*60 in plusWithOverflow()
353 (minutes % MINUTES_PER_DAY) * NANOS_PER_MINUTE + // max 86400000000000 in plusWithOverflow()
/libcore/luni/src/test/java/libcore/java/text/
DDateFormatSymbolsTest.java188 int minutes = (offset - hours * millisInHour) / 1_000 / 60; in formattedOffset() local
190 return String.format(pattern, hours, minutes); in formattedOffset()
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java301 public java.time.OffsetDateTime plusMinutes(long minutes) { in plusMinutes() argument
342 public java.time.OffsetDateTime minusMinutes(long minutes) { in minusMinutes() argument
DDuration.java85 public static java.time.Duration ofMinutes(long minutes) { in ofMinutes() argument
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java2150 int minutes = 0; in subParseNumericZone() local
2178 minutes = c - '0'; in subParseNumericZone()
2183 minutes = minutes * 10 + (c - '0'); in subParseNumericZone()
2184 if (minutes > 59) { in subParseNumericZone()
2188 minutes += hours * 60; in subParseNumericZone()
2189 calb.set(Calendar.ZONE_OFFSET, minutes * MILLIS_PER_MINUTE * sign) in subParseNumericZone()
/libcore/ojluni/src/main/java/java/util/
DDate.java861 public void setMinutes(int minutes) { in setMinutes() argument
862 getCalendarDate().setMinutes(minutes); in setMinutes()
/libcore/tools/testmapping/
Dgen_smoke_tests.py44 MAX_RUN_TIME = datetime.timedelta(minutes=10)
/libcore/expectations/
Dknownfailures.txt10 …/* libcore tests that take over 15 minutes on device because of DHParametersHelper.generateSafePri…