Home
last modified time | relevance | path

Searched refs:REIWA (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseDateTest.java23 import static java.time.chrono.JapaneseEra.REIWA;
52 JapaneseDate date = JapaneseDate.of(REIWA, 3, 5, 21); in minus_days()
54 assertEquals(JapaneseDate.of(REIWA, 3, 5, 20), date.minus(1, ChronoUnit.DAYS)); in minus_days()
59 JapaneseDate date = JapaneseDate.of(REIWA, 3, 5, 21); in minus_negative_days()
61 assertEquals(JapaneseDate.of(REIWA, 3, 5, 22), date.minus(-1, ChronoUnit.DAYS)); in minus_negative_days()
66 JapaneseDate date = JapaneseDate.of(REIWA, 1, 5, 1); in minus_days_crossEras()
117 JapaneseDate date = JapaneseDate.of(REIWA, 3, 5, 21); in minus_japanesePeriod()
119 assertEquals(JapaneseDate.of(REIWA, 2, 4, 20), in minus_japanesePeriod()
125 JapaneseDate date = JapaneseDate.of(REIWA, 2, 5, 21); in minus_japanesePeriod_withNegative()
127 assertEquals(JapaneseDate.of(REIWA, 3, 8, 26), in minus_japanesePeriod_withNegative()
DJapaneseChronologyTest.java21 import static java.time.chrono.JapaneseEra.REIWA;
157 assertEquals(JapaneseDate.of(REIWA, 3, 5, 21), today); in dateEpochDay()
/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseEra.java159 public static final JapaneseEra REIWA = new JapaneseEra(3, LocalDate.of(2019, 5, 1)); field in JapaneseEra
163 private static final int N_ERA_CONSTANTS = REIWA.getValue() + ERA_OFFSET;
181 KNOWN_ERAS[4] = REIWA;
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseEra.java82 {JapaneseEra.REIWA, "Reiwa", 3}, in data_of_eras()
DTCKJapaneseChronology.java181 {JapaneseEra.REIWA, 2020 - YDIFF_REIWA, 2, 29, 60, LocalDate.of(2020, 2, 29)}, in data_createByEra()
377 {3, JapaneseEra.REIWA, 1, 1 + YDIFF_REIWA, false}, in data_prolepticYear()
378 {3, JapaneseEra.REIWA, 102, 102 + YDIFF_REIWA, true}, in data_prolepticYear()
565 { JapaneseEra.REIWA, 3, "Reiwa"}, in data_japanseseEras()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java108 public static final int REIWA = 5; field in JapaneseImperialCalendar
258 currentEra = REIWA;
1746 if (era > REIWA) { in computeFields()