/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoUnitSerialization.java | 62 import static java.time.temporal.ChronoUnit.ERAS; 97 {ERAS}, in data_chronoUnit()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Era.java | 65 import static java.time.temporal.ChronoUnit.ERAS; 270 return (R) ERAS; in query()
|
D | ChronoLocalDateImpl.java | 209 case ERAS: return with(ERA, Math.addExact(getLong(ERA), amountToAdd)); in plus() 388 case ERAS: return end.getLong(ERA) - getLong(ERA); in until()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 69 import static java.time.temporal.ChronoUnit.ERAS; 398 … return unit == YEARS || unit == DECADES || unit == CENTURIES || unit == MILLENNIA || unit == ERAS; in isSupported() 709 case ERAS: return with(ERA, Math.addExact(getLong(ERA), amountToAdd)); in plus() 916 case ERAS: return end.getLong(ERA) - getLong(ERA); in until()
|
D | YearMonth.java | 71 import static java.time.temporal.ChronoUnit.ERAS; 386 …NTHS || unit == YEARS || unit == DECADES || unit == CENTURIES || unit == MILLENNIA || unit == ERAS; in isSupported() 807 case ERAS: return with(ERA, Math.addExact(getLong(ERA), amountToAdd)); in plus() 1049 case ERAS: return end.getLong(ERA) - getLong(ERA); in until()
|
D | LocalDate.java | 1239 case ERAS: return with(ERA, Math.addExact(getLong(ERA), amountToAdd)); in plus() 1606 case ERAS: return end.getLong(ERA) - getLong(ERA); in until()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 62 import static java.time.temporal.ChronoUnit.ERAS; 102 {ERAS, true, false, true}, in data_chronoUnit()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | InstantTest.java | 50 assertEquals(false, Instant.EPOCH.isSupported(ChronoUnit.ERAS)); in test_isSupported_TemporalUnit()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | ChronoUnit.java | 182 ERAS("Eras", Duration.ofSeconds(31556952L * 1000_000_000L)), enumConstant
|
D | ChronoField.java | 71 import static java.time.temporal.ChronoUnit.ERAS; 561 ERA("Era", ERAS, FOREVER, ValueRange.of(0, 1), "era"),
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYear.java | 388 assertEquals(TEST_2008.isSupported(ChronoUnit.ERAS), true); in test_isSupported_TemporalUnit() 586 {Year.of(-1), 1, ChronoUnit.ERAS, Year.of(2), null}, in data_plus_long_TemporalUnit() 718 {Year.of(999999999), 1, ChronoUnit.ERAS, Year.of(-999999999 + 1), null}, in data_minus_long_TemporalUnit()
|
D | TCKYearMonth.java | 453 assertEquals(TEST_2008_06.isSupported(ChronoUnit.ERAS), true); in test_isSupported_TemporalUnit() 762 {YearMonth.of(-1, 10), 1, ChronoUnit.ERAS, YearMonth.of(2, 10), null}, in data_plus_long_TemporalUnit() 977 {YearMonth.of(1, 10), 1, ChronoUnit.ERAS, YearMonth.of(0, 10), null}, in data_minus_long_TemporalUnit()
|
D | TCKOffsetTime.java | 574 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoUnit.ERAS), false);
|
D | TCKOffsetDateTime.java | 591 assertEquals(TEST_2008_6_30_11_30_59_000000500.isSupported(ChronoUnit.ERAS), true);
|
D | TCKLocalDate.java | 662 assertEquals(TEST_2007_07_15.isSupported(ChronoUnit.ERAS), true);
|
D | TCKLocalTime.java | 616 assertEquals(TEST_12_30_40_987654321.isSupported(ChronoUnit.ERAS), false); in test_isSupported_TemporalUnit()
|
D | TCKZonedDateTime.java | 917 assertEquals(TEST_DATE_TIME.isSupported(ChronoUnit.ERAS), true);
|
D | TCKLocalDateTime.java | 974 assertEquals(TEST_2007_07_15_12_30_40_987654321.isSupported(ChronoUnit.ERAS), true);
|