/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKJapaneseChronology.java | 179 {JapaneseEra.SHOWA, 1928 - YDIFF_SHOWA, 12, 25, 360, LocalDate.of(1928, 12, 25)}, in data_createByEra() 185 {JapaneseEra.SHOWA, 1, 12, 25, 1, LocalDate.of(1926, 12, 25)}, in data_createByEra() 186 {JapaneseEra.SHOWA, 64, 1, 7, 7, LocalDate.of(1989, 1, 7)}, in data_createByEra() 374 {1, JapaneseEra.SHOWA, 1, 1 + YDIFF_SHOWA, false}, in data_prolepticYear() 375 {1, JapaneseEra.SHOWA, 7, 7 + YDIFF_SHOWA, true}, in data_prolepticYear() 411 {JapaneseEra.SHOWA, 100}, in data_prolepticYearError() 412 {JapaneseEra.SHOWA, 0}, in data_prolepticYearError() 413 {JapaneseEra.SHOWA, -10}, in data_prolepticYearError() 461 JapaneseDate base = JapaneseChronology.INSTANCE.date(JapaneseEra.SHOWA, 63, 6, 30); in test_getLong() 462 assertEquals(base.getLong(ERA), JapaneseEra.SHOWA.getValue()); in test_getLong() [all …]
|
D | TCKJapaneseEra.java | 81 {JapaneseEra.SHOWA, "Showa", 1}, in data_of_eras()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronology.java | 58 { JapaneseEra.SHOWA, 1, 12, 25, 1926 }, in transitionData() 59 { JapaneseEra.SHOWA, 64, 1, 7, 1989 }, in transitionData() 72 { JapaneseEra.SHOWA, 1, 1, 12, 25 }, in dayYearData() 73 { JapaneseEra.SHOWA, 2, 8, 1, 8 }, in dayYearData() 74 { JapaneseEra.SHOWA, 64, 7, 1, 7 }, in dayYearData() 102 { JapaneseEra.SHOWA, 1, 12, 24 }, in invalidDatesData() 103 { JapaneseEra.SHOWA, 2, 2, 29 }, in invalidDatesData() 104 { JapaneseEra.SHOWA, 64, 1, 8 }, in invalidDatesData() 105 { JapaneseEra.SHOWA, 65, 1, 1 }, in invalidDatesData() 122 { JapaneseEra.SHOWA, -1 }, in invalidEraYearData() [all …]
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseEra.java | 121 public static final JapaneseEra SHOWA = new JapaneseEra(1, LocalDate.of(1926, 12, 25)); field in JapaneseEra 146 KNOWN_ERAS[2] = SHOWA;
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 74 assertEquals(JapaneseEra.SHOWA, JapaneseDate.from(LocalDate.of(1927, 1, 1)).getEra()); in test_JapaneseDate_getEra()
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 96 public static final int SHOWA = 3; field in JapaneseImperialCalendar 1860 era = SHOWA; in computeTime()
|