/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 15 import static java.util.concurrent.TimeUnit.MINUTES; 48 SECONDS.convert(t, MINUTES)); in testConvert() 63 MILLISECONDS.convert(t, MINUTES)); in testConvert() 78 MICROSECONDS.convert(t, MINUTES)); in testConvert() 93 NANOSECONDS.convert(t, MINUTES)); in testConvert() 116 MINUTES.toNanos(t)); in testToNanos() 139 MINUTES.toMicros(t)); in testToMicros() 162 MINUTES.toMillis(t)); in testToMillis() 185 MINUTES.toSeconds(t)); in testToSeconds() 208 MINUTES.toMinutes(t)); in testToMinutes() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | OffsetTimeTest.java | 50 NOON_UTC.plus(1, ChronoUnit.MINUTES)); in test_plus() 61 assertPlusIsNoop(0, ChronoUnit.MINUTES); in test_plus_noop() 64 assertPlusIsNoop(24 * 60, ChronoUnit.MINUTES); in test_plus_noop()
|
D | OffsetDateTimeTest.java | 48 ODT.plus(1, ChronoUnit.MINUTES)); in test_plus()
|
D | InstantTest.java | 40 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MINUTES)); in test_isSupported_TemporalUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 69 import static java.time.temporal.ChronoUnit.MINUTES; 113 {MINUTES, false, true, false}, in data_chronoUnit() 144 {MINUTES, LocalTime.of(1, 2, 3, 400), true, 1, LocalTime.of(1, 3, 3, 400)}, in data_unitAndTemporal() 159 {MINUTES, LocalDate.of(2000, 2, 29), false, 1, null}, in data_unitAndTemporal()
|
D | TCKChronoField.java | 92 import static java.time.temporal.ChronoUnit.MINUTES; 131 {MINUTE_OF_DAY, MINUTES, DAYS}, in data_fieldUnit() 132 {MINUTE_OF_HOUR, MINUTES, HOURS}, in data_fieldUnit() 134 {SECOND_OF_MINUTE, SECONDS, MINUTES}, in data_fieldUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoUnitSerialization.java | 69 import static java.time.temporal.ChronoUnit.MINUTES; 108 {MINUTES}, in data_chronoUnit()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
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)),
|
D | ChronoUnit.java | 104 MINUTES("Minutes", Duration.ofSeconds(60)), enumConstant
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 162 boolean minuteSet = isSet(DatatypeConstants.MINUTES); in getXMLSchemaType() 284 return getFieldValueAsInt(DatatypeConstants.MINUTES); in getMinutes() 908 BigInteger minutes = (BigInteger) getField(DatatypeConstants.MINUTES); in toString()
|
D | DatatypeConstants.java | 149 public static final Field MINUTES = new Field("MINUTES", 4); field in DatatypeConstants
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 85 cmp(Instant.MIN, Long.MIN_VALUE, MINUTES, 1); in main() 93 cmp(Instant.MAX, Long.MAX_VALUE, MINUTES, -1); in main() 183 ts(1L, MINUTES, "1970-01-01T00:01:00Z"); in main() 193 ts(-1L, MINUTES, "1969-12-31T23:59:00Z"); in main()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MessageDigestTest.java | 61 assertTrue("Test should not timeout", es.awaitTermination(1, TimeUnit.MINUTES)); in testMessageDigest_MultipleThreads_Misuse()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
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 +… 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, 0L}, 1788 {0, 0, 60, 0, MINUTES, 1L}, 1789 {0, 0, 61, 0, MINUTES, 1L},
|
D | TCKDuration.java | 67 import static java.time.temporal.ChronoUnit.MINUTES; 341 {0, MINUTES, 0, 0}, in provider_factory_of_longTemporalUnit() 349 {1, MINUTES, 60, 0}, in provider_factory_of_longTemporalUnit() 357 {3, MINUTES, 3 * 60, 0}, in provider_factory_of_longTemporalUnit() 365 {-1, MINUTES, -60, 0}, in provider_factory_of_longTemporalUnit() 373 {-3, MINUTES, -3 * 60, 0}, in provider_factory_of_longTemporalUnit() 385 {Long.MAX_VALUE / 60, MINUTES, (Long.MAX_VALUE / 60) * 60, 0}, in provider_factory_of_longTemporalUnit() 386 {Long.MIN_VALUE / 60, MINUTES, (Long.MIN_VALUE / 60) * 60, 0}, in provider_factory_of_longTemporalUnit() 404 {Long.MAX_VALUE / 60 + 1, MINUTES}, in provider_factory_of_longTemporalUnit_outOfRange() 405 {Long.MIN_VALUE / 60 - 1, MINUTES}, in provider_factory_of_longTemporalUnit_outOfRange() [all …]
|
D | TCKLocalTime.java | 83 import static java.time.temporal.ChronoUnit.MINUTES; 606 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.MINUTES), true); in test_isSupported_TemporalUnit() 1354 {LocalTime.of(1, 2, 3, 123_456_789), MINUTES, LocalTime.of(1, 2)}, in data_truncatedToValid() 1401 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); in test_plus_TemporalAmount_negativeMinutes() 1442 LocalTime t = TEST_12_30_40_987654321.plus(-25, ChronoUnit.MINUTES); in test_plus_longTemporalUnit_negativeMinutes() 1448 LocalTime t = TEST_12_30_40_987654321.plus(0, ChronoUnit.MINUTES); in test_plus_longTemporalUnit_zero() 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, 0}, [all …]
|
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, -1 + 24 * 60L}, [all …]
|
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/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 312 case MINUTES: return plusMinutes(amountToAdd); in plus() 383 case MINUTES: amount = Math.multiplyExact(amount, MINUTES_PER_DAY); break; in until()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDateTime.java | 272 dates.add(date.minus(1, ChronoUnit.MINUTES)); in test_datetime_comparisons() 278 dates.add(date.plus(1, ChronoUnit.MINUTES)); in test_datetime_comparisons()
|
D | TCKChronoZonedDateTime.java | 275 dates.add(date.minus(1, ChronoUnit.MINUTES)); in test_zonedDateTime_comparisons() 281 dates.add(date.plus(1, ChronoUnit.MINUTES)); in test_zonedDateTime_comparisons()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 851 … case MINUTES: return plusSeconds(Math.multiplyExact(amountToAdd, SECONDS_PER_MINUTE)); in plus() 1146 case MINUTES: return secondsUntil(end) / SECONDS_PER_MINUTE; in until()
|
D | LocalTime.java | 1045 case MINUTES: return plusMinutes(amountToAdd); in plus() 1387 case MINUTES: return nanosUntil / NANOS_PER_MINUTE; in until()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 138 MINUTES { enumConstant
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 243 case MINUTES: in toInstant()
|