/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeFactory.java | 208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 223 * @param minutes of this <code>Duration</code> 237 final BigInteger minutes, 242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p> 252 * @param minutes of this <code>Duration</code> 265 * BigInteger minutes, 274 final int minutes, 289 // minutes may not be set 290 BigInteger realMinutes = (minutes != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) minutes) 231 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument 268 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument 922 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int timezone) argument 960 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) argument 998 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument [all...] |
/libcore/ojluni/src/main/java/java/time/ |
H A D | ZoneOffset.java | 94 * This is usually a fixed number of hours and minutes. 110 * The fields of hours, minutes and seconds make assumptions that are valid for the 205 final int hours, minutes, seconds; 211 minutes = 0; 216 minutes = parseNumber(offsetId, 3, false); 221 minutes = parseNumber(offsetId, 4, true); 226 minutes = parseNumber(offsetId, 3, false); 231 minutes = parseNumber(offsetId, 4, true); 242 return ofHoursMinutesSeconds(-hours, -minutes, -seconds); 244 return ofHoursMinutesSeconds(hours, minutes, second 293 ofHoursMinutes(int hours, int minutes) argument 310 ofHoursMinutesSeconds(int hours, int minutes, int seconds) argument 356 validate(int hours, int minutes, int seconds) argument 393 totalSeconds(int hours, int minutes, int seconds) argument [all...] |
H A D | Duration.java | 101 * It can be accessed using other duration-based units, such as minutes and hours. 192 * Obtains a {@code Duration} representing a number of standard minutes. 198 * @param minutes the number of minutes, positive or negative 200 * @throws ArithmeticException if the input minutes exceeds the capacity of {@code Duration} 202 public static Duration ofMinutes(long minutes) { argument 203 return create(Math.multiplyExact(minutes, SECONDS_PER_MINUTE), 0); 349 * days, hours, minutes and seconds, accepted in upper or lower case. 356 * The number of days, hours and minutes must parse to an {@code long}. 367 * "PT15M" -- parses as "15 minutes" (wher [all...] |
H A D | OffsetTime.java | 799 * For example, truncating with the {@link ChronoUnit#MINUTES minutes} unit 896 * Returns a copy of this {@code OffsetTime} with the specified number of minutes added. 898 * This adds the specified number of minutes to this time, returning a new time. 903 * @param minutes the minutes to add, may be negative 904 * @return an {@code OffsetTime} based on this time with the minutes added, not null 906 public OffsetTime plusMinutes(long minutes) { argument 907 return with(time.plusMinutes(minutes), offset); 1007 * Returns a copy of this {@code OffsetTime} with the specified number of minutes subtracted. 1009 * This subtracts the specified number of minutes fro 1017 minusMinutes(long minutes) argument [all...] |
H A D | LocalDateTime.java | 1099 * For example, truncating with the {@link ChronoUnit#MINUTES minutes} unit 1299 * Returns a copy of this {@code LocalDateTime} with the specified number of minutes added. 1303 * @param minutes the minutes to add, may be negative 1304 * @return a {@code LocalDateTime} based on this date-time with the minutes added, not null 1307 public LocalDateTime plusMinutes(long minutes) { argument 1308 return plusWithOverflow(date, 0, minutes, 0, 0, 1); 1494 * Returns a copy of this {@code LocalDateTime} with the specified number of minutes subtracted. 1498 * @param minutes the minutes t 1502 minusMinutes(long minutes) argument 1546 plusWithOverflow(LocalDate newDate, long hours, long minutes, long seconds, long nanos, int sign) argument [all...] |
H A D | OffsetDateTime.java | 1109 * For example, truncating with the {@link ChronoUnit#MINUTES minutes} unit 1290 * Returns a copy of this {@code OffsetDateTime} with the specified number of minutes added. 1294 * @param minutes the minutes to add, may be negative 1295 * @return an {@code OffsetDateTime} based on this date-time with the minutes added, not null 1298 public OffsetDateTime plusMinutes(long minutes) { argument 1299 return with(dateTime.plusMinutes(minutes), offset); 1479 * Returns a copy of this {@code OffsetDateTime} with the specified number of minutes subtracted. 1483 * @param minutes the minutes t 1487 minusMinutes(long minutes) argument [all...] |
H A D | ZonedDateTime.java | 1496 * For example, truncating with the {@link ChronoUnit#MINUTES minutes} unit 1723 * Returns a copy of this {@code ZonedDateTime} with the specified number of minutes added. 1732 * @param minutes the minutes to add, may be negative 1733 * @return a {@code ZonedDateTime} based on this date-time with the minutes added, not null 1736 public ZonedDateTime plusMinutes(long minutes) { argument 1737 return resolveInstant(dateTime.plusMinutes(minutes)); 1964 * Returns a copy of this {@code ZonedDateTime} with the specified number of minutes subtracted. 1973 * @param minutes the minutes t 1977 minusMinutes(long minutes) argument [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDateTimeImpl.java | 329 private ChronoLocalDateTimeImpl<D> plusMinutes(long minutes) { argument 330 return plusWithOverflow(date, 0, minutes, 0, 0); 342 private ChronoLocalDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seconds, long nanos) { argument 344 if ((hours | minutes | seconds | nanos) == 0) { 349 minutes / MINUTES_PER_DAY + // max/24*60 353 (minutes % MINUTES_PER_DAY) * NANOS_PER_MINUTE + // max 86400000000000
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Date.java | 97 * year, month, date, hours, minutes, and seconds values, the 211 * @param min the minutes between 0-59. 234 * @param min the minutes between 0-59. 305 * @param min the minutes between 0-59. 352 * 13:30:00 GMT+0430" (4 hours, 30 minutes west of the Greenwich 371 * in hours. Otherwise, it is regarded as an offset in minutes, 377 * thirty minutes east of Greenwich." It is permitted for the 834 * Returns the number of minutes past the hour represented by this date, 838 * @return the number of minutes past the hour represented by this date. 849 * Sets the minutes o 861 setMinutes(int minutes) argument [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
H A D | CalendarDate.java | 75 private int minutes; field in class:CalendarDate 239 return minutes; 242 public CalendarDate setMinutes(int minutes) { argument 243 if (this.minutes != minutes) { 244 this.minutes = minutes; 252 minutes += n; 319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument 321 setMinutes(minutes); 327 addTimeOfDay(int hours, int minutes, int seconds, int millis) argument [all...] |
H A D | ImmutableGregorianDate.java | 113 public CalendarDate setMinutes(int minutes) { argument 157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument 161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKZoneOffset.java | 640 private void doTestOffset(ZoneOffset offset, int hours, int minutes, int seconds) { argument 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) {
|
H A D | TCKDuration.java | 1254 public void plusMinutes_long(long minutes, long amount, long expectedMinutes) { argument 1255 Duration t = Duration.ofMinutes(minutes); 1873 public void minusMinutes_long(long minutes, long amount, long expectedMinutes) { argument 1874 Duration t = Duration.ofMinutes(minutes);
|