/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 61 import static java.time.temporal.ChronoUnit.DECADES; 105 {DECADES, true, false, true}, in data_chronoUnit() 136 {DECADES, LocalDate.of(2000, 1, 10), true, 1, LocalDate.of(2010, 1, 10)}, in data_unitAndTemporal() 151 {DECADES, LocalTime.of(1, 2, 3, 400), false, 1, null}, in data_unitAndTemporal()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoUnitSerialization.java | 61 import static java.time.temporal.ChronoUnit.DECADES; 100 {DECADES}, in data_chronoUnit()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 69 import static java.time.temporal.ChronoUnit.DECADES; 450 assertEquals(TEST_2008_06.isSupported(ChronoUnit.DECADES), true); in test_isSupported_TemporalUnit() 764 {YearMonth.of(5, 10), 1, ChronoUnit.DECADES, YearMonth.of(15, 10), null}, in data_plus_long_TemporalUnit() 979 {YearMonth.of(5, 10), 1, ChronoUnit.DECADES, YearMonth.of(-5, 10), null}, in data_minus_long_TemporalUnit() 1201 {ym(2000, 5), ym(-1, 5), DECADES, -200}, in data_periodUntilUnit() 1202 {ym(2000, 5), ym(0, 4), DECADES, -200}, in data_periodUntilUnit() 1203 {ym(2000, 5), ym(0, 5), DECADES, -200}, in data_periodUntilUnit() 1204 {ym(2000, 5), ym(0, 6), DECADES, -199}, in data_periodUntilUnit() 1205 {ym(2000, 5), ym(1, 5), DECADES, -199}, in data_periodUntilUnit() 1206 {ym(2000, 5), ym(1990, 4), DECADES, -1}, in data_periodUntilUnit() [all …]
|
D | TCKYear.java | 67 import static java.time.temporal.ChronoUnit.DECADES; 385 assertEquals(TEST_2008.isSupported(ChronoUnit.DECADES), true); in test_isSupported_TemporalUnit() 588 {Year.of(5), 1, ChronoUnit.DECADES, Year.of(15), null}, in data_plus_long_TemporalUnit() 720 {Year.of(15), 1, ChronoUnit.DECADES, Year.of(5), null}, in data_minus_long_TemporalUnit() 889 {Year.of(2000), Year.of(-1), DECADES, -200}, in data_periodUntilUnit() 890 {Year.of(2000), Year.of(0), DECADES, -200}, in data_periodUntilUnit() 891 {Year.of(2000), Year.of(1), DECADES, -199}, in data_periodUntilUnit() 892 {Year.of(2000), Year.of(1989), DECADES, -1}, in data_periodUntilUnit() 893 {Year.of(2000), Year.of(1990), DECADES, -1}, in data_periodUntilUnit() 894 {Year.of(2000), Year.of(1991), DECADES, 0}, in data_periodUntilUnit() [all …]
|
D | TCKLocalDate.java | 77 import static java.time.temporal.ChronoUnit.DECADES; 659 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.DECADES), true); 1691 {date(2000, 1, 1), date(2000, 1, 1), DECADES, 0}, 1718 {date(2000, 1, 15), date(2010, 1, 14), DECADES, 0}, 1719 {date(2000, 1, 15), date(2010, 1, 15), DECADES, 1},
|
D | TCKLocalDateTime.java | 92 import static java.time.temporal.ChronoUnit.DECADES; 971 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.DECADES), true); 2768 {dtNoon(2000, 1, 1), dtNoon(2000, 1, 1), DECADES, 0}, 2795 {dtNoon(2000, 1, 15), dtNoon(2010, 1, 14), DECADES, 0}, 2796 {dtNoon(2000, 1, 15), dtNoon(2010, 1, 15), DECADES, 1},
|
D | TCKPeriod.java | 1168 {ChronoUnit.DECADES}, in data_badTemporalUnit()
|
D | TCKOffsetTime.java | 571 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.DECADES), false);
|
D | TCKDuration.java | 2718 {0, ChronoUnit.DECADES}, in provider_factory_of_badTemporalUnit()
|
D | TCKOffsetDateTime.java | 588 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.DECADES), true);
|
D | TCKLocalTime.java | 613 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.DECADES), false); in test_isSupported_TemporalUnit()
|
D | TCKZonedDateTime.java | 914 assertEquals(TEST_DATE_TIME.isSupported(ChronoUnit.DECADES), true);
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 68 import static java.time.temporal.ChronoUnit.DECADES; 398 … return unit == YEARS || unit == DECADES || unit == CENTURIES || unit == MILLENNIA || unit == ERAS; in isSupported() 706 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus() 913 case DECADES: return yearsUntil / 10; in until()
|
D | YearMonth.java | 70 import static java.time.temporal.ChronoUnit.DECADES; 386 …return unit == MONTHS || unit == YEARS || unit == DECADES || unit == CENTURIES || unit == MILLENNI… in isSupported() 804 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus() 1046 case DECADES: return monthsUntil / 120; in until()
|
D | LocalDate.java | 1236 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus() 1603 case DECADES: return monthsUntil(end) / 120; in until()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | InstantTest.java | 47 assertEquals(false, Instant.EPOCH.isSupported(ChronoUnit.DECADES)); in test_isSupported_TemporalUnit()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoUnit.java | 157 DECADES("Decades", Duration.ofSeconds(31556952L * 10L)), enumConstant
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateImpl.java | 206 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus() 385 case DECADES: return monthsUntil(end) / 120; in until()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 267 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus()
|