Searched refs:REIWA (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseDateTest.java | 23 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()
|
D | JapaneseChronologyTest.java | 21 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/ |
D | JapaneseEra.java | 159 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/ |
D | TCKJapaneseEra.java | 82 {JapaneseEra.REIWA, "Reiwa", 3}, in data_of_eras()
|
D | TCKJapaneseChronology.java | 181 {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/ |
D | JapaneseImperialCalendar.java | 108 public static final int REIWA = 5; field in JapaneseImperialCalendar 258 currentEra = REIWA; 1746 if (era > REIWA) { in computeFields()
|