Searched refs:ROC (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | MinguoEra.java | 118 ROC; enumConstant 136 return ROC; in of()
|
D | MinguoChronology.java | 299 return (era == MinguoEra.ROC ? yearOfEra : 1 - yearOfEra); in prolepticYear()
|
D | MinguoDate.java | 235 return (getProlepticYear() >= 1 ? MinguoEra.ROC : MinguoEra.BEFORE_ROC); in getEra()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKMinguoChronology.java | 151 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 1916 - YDIFF, 60), LocalDate.of(1916, 2, 29)… in data_samples() 153 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 2000 - YDIFF, 60), LocalDate.of(2000, 2, 29)… in data_samples() 154 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 2400 - YDIFF, 60), LocalDate.of(2400, 2, 29)… in data_samples() 156 … {MinguoChronology.INSTANCE.date(MinguoEra.ROC, 1916 - YDIFF, 2, 29 ), LocalDate.of(1916, 2, 29)}, in data_samples() 158 … {MinguoChronology.INSTANCE.date(MinguoEra.ROC, 2000 - YDIFF, 2, 29), LocalDate.of(2000, 2, 29)}, in data_samples() 159 … {MinguoChronology.INSTANCE.date(MinguoEra.ROC, 2400 - YDIFF, 2, 29), LocalDate.of(2400, 2, 29)}, in data_samples() 227 MinguoDate h1 = MinguoChronology.INSTANCE.date(MinguoEra.ROC, 1, 2, 3); in test_MinguoChrono() 272 {1, MinguoEra.ROC, 1912 - YDIFF, 1912 - YDIFF, true}, in data_prolepticYear() 273 {1, MinguoEra.ROC, 1916 - YDIFF, 1916 - YDIFF, true}, in data_prolepticYear() 274 {1, MinguoEra.ROC, 1914 - YDIFF, 1914 - YDIFF, false}, in data_prolepticYear() [all …]
|
D | TCKChronology.java | 279 ChronoLocalDate date1 = chrono.dateYearDay(MinguoEra.ROC, 5, 60); in test_MinguoChronology_dateYearDay() 280 ChronoLocalDate date2 = chrono.date(MinguoEra.ROC, 5, 2, 29); in test_MinguoChronology_dateYearDay() 281 assertEquals(date1, MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 5, 60)); in test_MinguoChronology_dateYearDay() 282 assertEquals(date2, MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 5, 60)); in test_MinguoChronology_dateYearDay()
|
D | TCKMinguoEra.java | 83 {MinguoEra.ROC, "ROC", 1}, in data_of_eras()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKEraSerialization.java | 106 {MinguoEra.ROC}, in data_of_calendars()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | MinguoChronologyTest.java | 78 assertEquals(MinguoEra.ROC, MinguoDate.of(1, 1, 1).getEra()); in test_MinguoDate_getEra()
|