/libcore/luni/src/test/java/libcore/java/time/ |
H A D | OffsetTimeTest.java | 50 NOON_UTC.plus(1, ChronoUnit.MINUTES)); 61 assertPlusIsNoop(0, ChronoUnit.MINUTES); 64 assertPlusIsNoop(24 * 60, ChronoUnit.MINUTES);
|
H A D | InstantTest.java | 40 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MINUTES));
|
H A D | OffsetDateTimeTest.java | 48 ODT.plus(1, ChronoUnit.MINUTES));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | TimeUnitTest.java | 15 import static java.util.concurrent.TimeUnit.MINUTES; 48 SECONDS.convert(t, MINUTES)); 63 MILLISECONDS.convert(t, MINUTES)); 78 MICROSECONDS.convert(t, MINUTES)); 93 NANOSECONDS.convert(t, MINUTES)); 116 MINUTES.toNanos(t)); 139 MINUTES.toMicros(t)); 162 MINUTES.toMillis(t)); 185 MINUTES.toSeconds(t)); 208 MINUTES [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
H A D | TCKChronoUnitSerialization.java | 69 import static java.time.temporal.ChronoUnit.MINUTES; 108 {MINUTES},
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConstants.java | 149 public static final Field MINUTES = new Field("MINUTES", 4); field in class:DatatypeConstants
|
H A D | Duration.java | 162 boolean minuteSet = isSet(DatatypeConstants.MINUTES); 274 * Obtains the value of the MINUTES field as an integer value, 278 * that this method works on the MINUTES field. 284 return getFieldValueAsInt(DatatypeConstants.MINUTES); 383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned 389 * MINUTES, or SECONDS.) 394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method 407 * MINUTES, or SECONDS.) 428 * MINUTES, or SECONDS.) 494 * order of YEARS, MONTHS, DAYS, HOURS, MINUTES, SECOND [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | ChronoField.java | 77 import static java.time.temporal.ChronoUnit.MINUTES; 226 SECOND_OF_MINUTE("SecondOfMinute", SECONDS, MINUTES, ValueRange.of(0, 59), "second"), 248 MINUTE_OF_HOUR("MinuteOfHour", MINUTES, HOURS, ValueRange.of(0, 59), "minute"), 259 MINUTE_OF_DAY("MinuteOfDay", MINUTES, DAYS, ValueRange.of(0, (24 * 60) - 1)),
|
H A D | ChronoUnit.java | 104 MINUTES("Minutes", Duration.ofSeconds(60)), enum constant in enum:ChronoUnit
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
H A D | TCKChronoUnit.java | 69 import static java.time.temporal.ChronoUnit.MINUTES; 113 {MINUTES, false, true, false}, 144 {MINUTES, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 3, 3, 400)}, 159 {MINUTES, LocalDate.of(2000, 2, 29), false, 1, null},
|
H A D | TCKChronoField.java | 92 import static java.time.temporal.ChronoUnit.MINUTES; 131 {MINUTE_OF_DAY, MINUTES, DAYS}, 132 {MINUTE_OF_HOUR, MINUTES, HOURS}, 134 {SECOND_OF_MINUTE, SECONDS, MINUTES},
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKDuration.java | 67 import static java.time.temporal.ChronoUnit.MINUTES; 341 {0, MINUTES, 0, 0}, 349 {1, MINUTES, 60, 0}, 357 {3, MINUTES, 3 * 60, 0}, 365 {-1, MINUTES, -60, 0}, 373 {-3, MINUTES, -3 * 60, 0}, 385 {Long.MAX_VALUE / 60, MINUTES, (Long.MAX_VALUE / 60) * 60, 0}, 386 {Long.MIN_VALUE / 60, MINUTES, (Long.MIN_VALUE / 60) * 60, 0}, 404 {Long.MAX_VALUE / 60 + 1, MINUTES}, 405 {Long.MIN_VALUE / 60 - 1, MINUTES}, [all...] |
H A D | TCKInstant.java | 70 import static java.time.temporal.ChronoUnit.MINUTES; 635 {Instant.ofEpochSecond(86400 + 3600 + 60 + 1, 123_456_789), MINUTES, Instant.ofEpochSecond(86400 + 3600 + 60, 0)}, 677 {MINUTES, MockSimplePeriod.of(4, MINUTES), 241, 0}, 682 {MINUTES, MockSimplePeriod.of(12, MINUTES), 721, 0}, 1784 {0, 0, -60, 0, MINUTES, -1L}, 1785 {0, 0, -1, 999_999_999, MINUTES, 0L}, 1786 {0, 0, 59, 0, MINUTES, 0L}, 1787 {0, 0, 59, 999_999_999, MINUTES, [all...] |
H A D | TCKLocalTime.java | 83 import static java.time.temporal.ChronoUnit.MINUTES; 606 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.MINUTES), true); 1354 {LocalTime.of(1, 2, 3, 123_456_789), MINUTES, LocalTime.of(1, 2)}, 1401 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); 1442 LocalTime t = TEST_12_30_40_987654321.plus(-25, ChronoUnit.MINUTES); 1448 LocalTime t = TEST_12_30_40_987654321.plus(0, ChronoUnit.MINUTES); 1827 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); 1868 LocalTime t = TEST_12_30_40_987654321.minus(-25, ChronoUnit.MINUTES); 1874 LocalTime t = TEST_12_30_40_987654321.minus(0, ChronoUnit.MINUTES); 2273 {time(0, 0, 0, 0), time(0, 0, 0, 0), MINUTES, [all...] |
H A D | TCKLocalDateTime.java | 98 import static java.time.temporal.ChronoUnit.MINUTES; 964 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.MINUTES), true); 2809 {dtEpoch(0, 0, 0, 0), dtEpoch(0, 0, 0, 0), MINUTES, 0}, 2817 {dtEpoch(0, 0, 0, 0), dtEpoch(2, 0, 0, 0), MINUTES, 2 * 60}, 2825 {dtEpoch(0, 0, 0, 0), dtEpoch(14, 0, 0, 0), MINUTES, 14 * 60}, 2833 {dtEpoch(0, 0, 0, 0), dtEpoch(2, 30, 40, 1500), MINUTES, 2 * 60 + 30}, 2862 {dt(2000, 1, 15, 12, 30, 40, 500), dt(2000, 1, 16, 12, 29, 40, 499), MINUTES, -2 + 24 * 60L}, 2863 {dt(2000, 1, 15, 12, 30, 40, 500), dt(2000, 1, 16, 12, 29, 40, 500), MINUTES, -1 + 24 * 60L}, 2864 {dt(2000, 1, 15, 12, 30, 40, 500), dt(2000, 1, 16, 12, 29, 40, 501), MINUTES, -1 + 24 * 60L}, 2865 {dt(2000, 1, 15, 12, 30, 40, 500), dt(2000, 1, 16, 12, 30, 40, 499), MINUTES, [all...] |
H A D | TCKOffsetTime.java | 81 import static java.time.temporal.ChronoUnit.MINUTES; 564 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.MINUTES), true); 888 MockSimplePeriod period = MockSimplePeriod.of(7, ChronoUnit.MINUTES); 983 MockSimplePeriod period = MockSimplePeriod.of(7, ChronoUnit.MINUTES); 1081 {OffsetTime.of(1, 1, 1, 0, OFFSET_PONE), OffsetTime.of(2, 1, 1, 0, OFFSET_PONE), MINUTES, 60}, 1089 {OffsetTime.of(1, 1, 1, 0, OFFSET_PONE), OffsetTime.of(3, 1, 1, 0, OFFSET_PTWO), MINUTES, 60},
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
H A D | FileTimeTest.java | 85 cmp(Instant.MIN, Long.MIN_VALUE, MINUTES, 1); 93 cmp(Instant.MAX, Long.MAX_VALUE, MINUTES, -1); 183 ts(1L, MINUTES, "1970-01-01T00:01:00Z"); 193 ts(-1L, MINUTES, "1969-12-31T23:59:00Z");
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Instant.java | 472 * <li>{@code MINUTES} 727 * For example, truncating with the {@link ChronoUnit#MINUTES MINUTES} unit will 809 * <li>{@code MINUTES} - 851 case MINUTES: return plusSeconds(Math.multiplyExact(amountToAdd, SECONDS_PER_MINUTE)); 1118 * {@code MINUTES}, {@code HOURS}, {@code HALF_DAYS} and {@code DAYS} 1146 case MINUTES: return secondsUntil(end) / SECONDS_PER_MINUTE;
|
H A D | LocalTime.java | 532 * <li>{@code MINUTES} 928 * For example, truncating with the {@link ChronoUnit#MINUTES minutes} unit 1009 * <li>{@code MINUTES} - 1045 case MINUTES: return plusMinutes(amountToAdd); 1352 * amount = start.until(end, MINUTES); 1353 * amount = MINUTES.between(start, end); 1359 * {@code MINUTES}, {@code HOURS} and {@code HALF_DAYS} are supported. 1387 case MINUTES: return nanosUntil / NANOS_PER_MINUTE;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDateTimeImpl.java | 312 case MINUTES: return plusMinutes(amountToAdd); 383 case MINUTES: amount = Math.multiplyExact(amount, MINUTES_PER_DAY); break;
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | TCKChronoLocalDateTime.java | 272 dates.add(date.minus(1, ChronoUnit.MINUTES)); 278 dates.add(date.plus(1, ChronoUnit.MINUTES));
|
H A D | TCKChronoZonedDateTime.java | 275 dates.add(date.minus(1, ChronoUnit.MINUTES)); 281 dates.add(date.plus(1, ChronoUnit.MINUTES));
|
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | MessageDigestTest.java | 279 assertTrue("Test should not timeout", es.awaitTermination(1, TimeUnit.MINUTES));
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | RelativeDateTimeFormatter.java | 147 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES;
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
H A D | FileTime.java | 243 case MINUTES:
|