Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseEra.java137 public static final JapaneseEra MEIJI = new JapaneseEra(-1, LocalDate.of(1868, 1, 1)); field in JapaneseEra
177 KNOWN_ERAS[0] = MEIJI;
240 if (japaneseEra < MEIJI.eraValue || japaneseEra + ERA_OFFSET > KNOWN_ERAS.length) { in of()
300 .format(this == MEIJI ? MEIJI_6_ISODATE : since); in getDisplayName()
DJapaneseChronology.java425 return ValueRange.of(JapaneseEra.MEIJI.getValue(), getCurrentEra().getValue()); in range()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseEra.java86 {JapaneseEra.MEIJI, "Meiji", -1}, in data_of_eras()
DTCKJapaneseChronology.java184 {JapaneseEra.MEIJI, 1874 - YDIFF_MEIJI, 2, 28, 59, LocalDate.of(1874, 2, 28)}, in data_createByEra()
187 {JapaneseEra.MEIJI, 6, 1, 1, 1, LocalDate.of(1873, 1, 1)}, in data_createByEra()
188 {JapaneseEra.MEIJI, 45, 7, 29, 211, LocalDate.of(1912, 7, 29)}, in data_createByEra()
383 {-1, JapaneseEra.MEIJI, 9, 9 + YDIFF_MEIJI, true}, in data_prolepticYear()
384 {-1, JapaneseEra.MEIJI, 10, 10 + YDIFF_MEIJI, false}, in data_prolepticYear()
419 {JapaneseEra.MEIJI, 100}, in data_prolepticYearError()
420 {JapaneseEra.MEIJI, 0}, in data_prolepticYearError()
421 {JapaneseEra.MEIJI, -10}, in data_prolepticYearError()
559 { JapaneseEra.MEIJI, -1, "Meiji"}, in data_japanseseEras()
662 … int firstYear = (era == JapaneseEra.MEIJI) ? 6 : 1; // Until Era supports range(YEAR_OF_ERA) in test_getDayOfYear()
[all …]
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java78 assertEquals(JapaneseEra.MEIJI, JapaneseDate.from(LocalDate.of(1873, 1, 1)).getEra()); in test_JapaneseDate_getEra()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java87 public static final int MEIJI = 1; field in JapaneseImperialCalendar
1219 if (eraIndex > MEIJI && jd.getYear() == 1) { in getActualMinimum()