/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseEra.java | 193 private final transient int eraValue; field in JapaneseEra 204 private JapaneseEra(int eraValue, LocalDate since) { in JapaneseEra() argument 205 this.eraValue = eraValue; in JapaneseEra() 216 return ERA_CONFIG[ordinal(eraValue)]; in getPrivateEra() 240 if (japaneseEra < MEIJI.eraValue || japaneseEra + ERA_OFFSET > KNOWN_ERAS.length) { in of() 349 private static int ordinal(int eraValue) { in ordinal() argument 350 return eraValue + ERA_OFFSET - 1; in ordinal() 365 return eraValue; in getValue() 448 byte eraValue = in.readByte(); in readExternal() 449 return JapaneseEra.of(eraValue); in readExternal()
|
D | MinguoChronology.java | 303 public MinguoEra eraOf(int eraValue) { in eraOf() argument 304 return MinguoEra.of(eraValue); in eraOf()
|
D | ThaiBuddhistChronology.java | 339 public ThaiBuddhistEra eraOf(int eraValue) { in eraOf() argument 340 return ThaiBuddhistEra.of(eraValue); in eraOf()
|
D | IsoChronology.java | 395 public IsoEra eraOf(int eraValue) { in eraOf() argument 396 return IsoEra.of(eraValue); in eraOf()
|
D | JapaneseChronology.java | 383 public JapaneseEra eraOf(int eraValue) { in eraOf() argument 384 return JapaneseEra.of(eraValue); in eraOf()
|
D | Chronology.java | 585 Era eraOf(int eraValue); in eraOf() argument
|
D | HijrahChronology.java | 564 public HijrahEra eraOf(int eraValue) { in eraOf() argument 565 switch (eraValue) { in eraOf()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKHijrahEra.java | 86 public void test_valueOf(HijrahEra era , String eraName, int eraValue) { in test_valueOf() argument 87 assertEquals(era.getValue(), eraValue); in test_valueOf() local 89 assertEquals(HijrahChronology.INSTANCE.eraOf(eraValue), era); in test_valueOf() 90 assertEquals(HijrahEra.of(eraValue), era); in test_valueOf()
|
D | TCKIsoEra.java | 87 public void test_valueOf(IsoEra era , String eraName, int eraValue) { in test_valueOf() argument 88 assertEquals(era.getValue(), eraValue); in test_valueOf() local 89 assertEquals(IsoEra.of(eraValue), era); in test_valueOf()
|
D | TCKThaiBuddhistEra.java | 91 public void test_valueOf(ThaiBuddhistEra era , String eraName, int eraValue) { in test_valueOf() argument 92 assertEquals(era.getValue(), eraValue); in test_valueOf() local 93 assertEquals(ThaiBuddhistEra.of(eraValue), era); in test_valueOf()
|
D | TCKMinguoEra.java | 91 public void test_valueOf(MinguoEra era , String eraName, int eraValue) { in test_valueOf() argument 92 assertEquals(era.getValue(), eraValue); in test_valueOf() local 93 assertEquals(MinguoEra.of(eraValue), era); in test_valueOf()
|
D | TCKJapaneseEra.java | 91 public void test_valueOf(JapaneseEra era , String eraName, int eraValue) { in test_valueOf() argument 92 assertEquals(era.getValue(), eraValue); in test_valueOf() local 93 assertEquals(JapaneseEra.of(eraValue), era); in test_valueOf()
|
D | CopticChronology.java | 220 public Era eraOf(int eraValue) { in eraOf() argument 221 return CopticEra.of(eraValue); in eraOf()
|
D | TCKJapaneseChronology.java | 395 …public void test_prolepticYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, b… in test_prolepticYear() argument 396 Era eraObj = JapaneseChronology.INSTANCE.eraOf(eraValue); in test_prolepticYear() 403 …public void test_isLeapYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, bool… in test_isLeapYear() argument 570 public void test_Japanese_Eras(Era era, int eraValue, String name) { in test_Japanese_Eras() argument 571 assertEquals(era.getValue(), eraValue, "EraValue"); in test_Japanese_Eras() local 573 … assertEquals(era, JapaneseChronology.INSTANCE.eraOf(eraValue), "JapaneseChronology.eraOf()"); in test_Japanese_Eras() 592 public void test_JapaneseEra_singletons(Era expectedEra, int eraValue, String name) { in test_JapaneseEra_singletons() argument 596 actualEra = JapaneseEra.of(eraValue); in test_JapaneseEra_singletons()
|
D | TCKThaiBuddhistChronology.java | 303 …public void test_prolepticYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, b… in test_prolepticYear() argument 304 Era eraObj = ThaiBuddhistChronology.INSTANCE.eraOf(eraValue); in test_prolepticYear() 311 …public void test_isLeapYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, bool… in test_isLeapYear() argument
|
D | TCKMinguoChronology.java | 296 …public void test_prolepticYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, b… in test_prolepticYear() argument 297 Era eraObj = MinguoChronology.INSTANCE.eraOf(eraValue); in test_prolepticYear() 304 …public void test_isLeapYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, bool… in test_isLeapYear() argument
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyTest.java | 125 public Era eraOf(int eraValue) { in eraOf() argument
|