/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 205 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 …]
|
D | LocalDateTime.java | 1307 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()
|
D | LocalTime.java | 355 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay() local 356 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay() 357 return create(hours, minutes, (int) secondOfDay, 0); in ofSecondOfDay() 373 int minutes = (int) (nanoOfDay / NANOS_PER_MINUTE); in ofNanoOfDay() local 374 nanoOfDay -= minutes * NANOS_PER_MINUTE; in ofNanoOfDay() 377 return create(hours, minutes, seconds, (int) nanoOfDay); in ofNanoOfDay()
|
D | Duration.java | 202 public static Duration ofMinutes(long minutes) { in ofMinutes() argument 203 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0); in ofMinutes() 1265 int minutes = (int) ((seconds % SECONDS_PER_HOUR) / SECONDS_PER_MINUTE); in toString() local 1272 if (minutes != 0) { in toString() 1273 buf.append(minutes).append('M'); in toString()
|
D | OffsetDateTime.java | 1298 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()
|
D | OffsetTime.java | 906 public OffsetTime plusMinutes(long minutes) { in plusMinutes() argument 907 return with(time.plusMinutes(minutes), offset); in plusMinutes() 1017 public OffsetTime minusMinutes(long minutes) { in minusMinutes() argument 1018 return with(time.minusMinutes(minutes), offset); in minusMinutes()
|
D | ZonedDateTime.java | 1736 public ZonedDateTime plusMinutes(long minutes) { in plusMinutes() argument 1737 return resolveInstant(dateTime.plusMinutes(minutes)); in plusMinutes() 1977 public ZonedDateTime minusMinutes(long minutes) { in minusMinutes() argument 1978 …return (minutes == Long.MIN_VALUE ? plusMinutes(Long.MAX_VALUE).plusMinutes(1) : plusMinutes(-minu… in minusMinutes()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarDate.java | 75 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 …]
|
D | ImmutableGregorianDate.java | 113 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
|
D | AbstractCalendar.java | 251 int minutes = time / MINUTE_IN_MILLIS; in setTimeOfDay() local 256 cdate.setMinutes(minutes); in setTimeOfDay()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeFactory.java | 237 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 …]
|
D | Duration.java | 908 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/ |
D | CalendarDate.java | 118 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
|
D | ImmutableGregorianDate.java | 107 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/ |
D | ChronoLocalDateTimeImpl.java | 329 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/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneOffset.java | 640 private void doTestOffset(ZoneOffset offset, int hours, int minutes, int seconds) { 641 assertEquals(offset.getTotalSeconds(), hours * 60 * 60 + minutes * 60 + seconds); 643 if (hours == 0 && minutes == 0 && seconds == 0) { 646 String str = (hours < 0 || minutes < 0 || seconds < 0) ? "-" : "+"; 649 str += Integer.toString(Math.abs(minutes) + 100).substring(1); 657 assertEquals(offset, ZoneOffset.ofHoursMinutesSeconds(hours, minutes, seconds)); 659 assertEquals(offset, ZoneOffset.ofHoursMinutes(hours, minutes)); 660 if (minutes == 0) {
|
D | TCKDuration.java | 1254 public void plusMinutes_long(long minutes, long amount, long expectedMinutes) { in plusMinutes_long() argument 1255 Duration t = Duration.ofMinutes(minutes); in plusMinutes_long() 1873 public void minusMinutes_long(long minutes, long amount, long expectedMinutes) { in minusMinutes_long() argument 1874 Duration t = Duration.ofMinutes(minutes); in minusMinutes_long()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 301 public java.time.OffsetDateTime plusMinutes(long minutes) { in plusMinutes() argument 342 public java.time.OffsetDateTime minusMinutes(long minutes) { in minusMinutes() argument
|
D | Duration.java | 85 public static java.time.Duration ofMinutes(long minutes) { in ofMinutes() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 861 public void setMinutes(int minutes) { in setMinutes() argument 862 getCalendarDate().setMinutes(minutes); in setMinutes()
|
/libcore/expectations/ |
D | knownfailures.txt | 10 …/* libcore tests that take over 15 minutes on device because of DHParametersHelper.generateSafePri…
|