/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKHijrahEra.java | 65 import java.time.chrono.HijrahEra; 81 {HijrahEra.AH, "AH", 1}, in data_of_eras() 86 public void test_valueOf(HijrahEra era , String eraName, int eraValue) { in test_valueOf() 90 assertEquals(HijrahEra.of(eraValue), era); in test_valueOf() 91 assertEquals(HijrahEra.valueOf(eraName), era); in test_valueOf() 100 HijrahEra[] eras = HijrahEra.values(); in test_values() 102 for (HijrahEra era : eras) { in test_values() 112 for (HijrahEra era : HijrahEra.values()) { in test_range()
|
D | TCKChronology.java | 87 import java.time.chrono.HijrahEra; 290 ChronoLocalDate date1 = chrono.dateYearDay(HijrahEra.AH, 1434, 178); in test_HijrahChronology_dateYearDay() 291 ChronoLocalDate date2 = chrono.date(HijrahEra.AH, 1434, 7, 1); in test_HijrahChronology_dateYearDay() 292 assertEquals(date1, HijrahChronology.INSTANCE.dateYearDay(HijrahEra.AH, 1434, 178)); in test_HijrahChronology_dateYearDay() 293 assertEquals(date2, HijrahChronology.INSTANCE.dateYearDay(HijrahEra.AH, 1434, 178)); in test_HijrahChronology_dateYearDay() 396 {HijrahChronology.INSTANCE, HijrahEra.AH, 1434, 9, 7, 1, 2, 2, OFFSET_P0100}, in data_era_epochSecond()
|
D | TCKHijrahChronology.java | 73 import java.time.chrono.HijrahEra; 205 Object[][] result = new Object[ResolverStyle.values().length * HijrahEra.values().length][]; in data_resolve_styleByEra() 208 for (HijrahEra era : HijrahEra.values()) { in data_resolve_styleByEra() 216 public void test_resolve_yearOfEra_eraOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraOnly_valid() 226 … public void test_resolve_yearOfEra_eraAndYearOfEraOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraAndYearOfEraOnly_valid() 239 public void test_resolve_yearOfEra_eraAndYearOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraAndYearOnly_valid()
|
D | TCKIsoChronology.java | 73 import java.time.chrono.HijrahEra; 788 IsoChronology.INSTANCE.epochSecond(HijrahEra.AH, 2009, 2, 29, 1, 2, 2, OFFSET_P0100); in test_era_epochSecond_bad()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestEraDisplayName.java | 170 { HijrahEra.AH, TextStyle.FULL, Locale.US, "AH" }, in eraDisplayName() 171 { HijrahEra.AH, TextStyle.FULL, EGYPT, "\u0647\u0640" }, in eraDisplayName() 172 { HijrahEra.AH, TextStyle.SHORT, Locale.US, "AH" }, in eraDisplayName() 173 { HijrahEra.AH, TextStyle.SHORT, EGYPT, "\u0647\u0640" }, in eraDisplayName() 174 { HijrahEra.AH, TextStyle.NARROW, Locale.US, "AH" }, in eraDisplayName() 175 { HijrahEra.AH, TextStyle.NARROW, EGYPT, "\u0647\u0640" }, in eraDisplayName() 191 HijrahEra.values(), in allEras()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahEra.java | 89 public enum HijrahEra implements Era { enum 107 public static HijrahEra of(int hijrahEra) { in of()
|
D | HijrahChronology.java | 503 if (!(era instanceof HijrahEra)) { in prolepticYear() 520 public HijrahEra eraOf(int eraValue) { in eraOf() 523 return HijrahEra.AH; in eraOf() 531 return List.of(HijrahEra.values()); in eras()
|
D | HijrahDate.java | 310 public HijrahEra getEra() { in getEra() 311 return HijrahEra.AH; in getEra()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | HijrahChronologyTest.java | 25 import java.time.chrono.HijrahEra; 37 assertEquals(HijrahEra.AH, HijrahDate.of(1300, 1, 1).getEra()); in test_HijrahDate_getEra()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKEraSerialization.java | 72 import java.time.chrono.HijrahEra; 102 {HijrahEra.AH}, in data_of_calendars()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TestIsoChronology.java | 79 import java.time.chrono.HijrahEra; 202 IsoChronology.INSTANCE.date((Era) HijrahEra.AH, 1, 1, 1); in test_date_withEra_withWrongEra()
|
/libcore/ |
D | openjdk_java_files.bp | 836 "ojluni/src/main/java/java/time/chrono/HijrahEra.java",
|
D | EXPECTED_UPSTREAM | 839 …src/main/java/java/time/chrono/HijrahEra.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/jav…
|
/libcore/api/ |
D | current.txt | 12350 method public java.time.chrono.HijrahEra eraOf(int); 12368 method public java.time.chrono.HijrahEra getEra(); 12391 public enum HijrahEra implements java.time.chrono.Era { 12393 method public static java.time.chrono.HijrahEra of(int); 12394 enum_constant public static final java.time.chrono.HijrahEra AH;
|