/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; 409 assertEquals(TEST_2008.isSupported(ChronoUnit.DECADES), true); in test_isSupported_TemporalUnit() 612 {Year.of(5), 1, ChronoUnit.DECADES, Year.of(15), null}, in data_plus_long_TemporalUnit() 744 {Year.of(15), 1, ChronoUnit.DECADES, Year.of(5), null}, in data_minus_long_TemporalUnit() 913 {Year.of(2000), Year.of(-1), DECADES, -200}, in data_periodUntilUnit() 914 {Year.of(2000), Year.of(0), DECADES, -200}, in data_periodUntilUnit() 915 {Year.of(2000), Year.of(1), DECADES, -199}, in data_periodUntilUnit() 916 {Year.of(2000), Year.of(1989), DECADES, -1}, in data_periodUntilUnit() 917 {Year.of(2000), Year.of(1990), DECADES, -1}, in data_periodUntilUnit() 918 {Year.of(2000), Year.of(1991), DECADES, 0}, in data_periodUntilUnit() [all …]
|
D | TCKLocalDate.java | 77 import static java.time.temporal.ChronoUnit.DECADES; 704 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.DECADES), true); 1760 {date(2000, 1, 1), date(2000, 1, 1), DECADES, 0}, 1787 {date(2000, 1, 15), date(2010, 1, 14), DECADES, 0}, 1788 {date(2000, 1, 15), date(2010, 1, 15), DECADES, 1},
|
D | TCKLocalDateTime.java | 92 import static java.time.temporal.ChronoUnit.DECADES; 965 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.DECADES), true); 2762 {dtNoon(2000, 1, 1), dtNoon(2000, 1, 1), DECADES, 0}, 2789 {dtNoon(2000, 1, 15), dtNoon(2010, 1, 14), DECADES, 0}, 2790 {dtNoon(2000, 1, 15), dtNoon(2010, 1, 15), DECADES, 1},
|
D | TCKPeriod.java | 1168 {ChronoUnit.DECADES}, in data_badTemporalUnit()
|
D | TCKOffsetTime.java | 563 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.DECADES), false);
|
D | TCKOffsetDateTime.java | 573 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.DECADES), true);
|
D | TCKDuration.java | 3106 {0, ChronoUnit.DECADES}, in provider_factory_of_badTemporalUnit()
|
D | TCKLocalTime.java | 641 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.DECADES), false); in test_isSupported_TemporalUnit()
|
D | TCKZonedDateTime.java | 909 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; 399 … 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; 387 …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 | 1262 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus() 1645 case DECADES: return monthsUntil(end) / 120; in until()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoUnit.java | 157 DECADES("Decades", Duration.ofSeconds(31556952L * 10L)), enumConstant
|
/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/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 | 268 case DECADES: return plusYears(Math.multiplyExact(amountToAdd, 10)); in plus()
|
/libcore/api/ |
D | current.txt | 12815 enum_constant public static final java.time.temporal.ChronoUnit DECADES;
|