/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 43 private Era[] eras; 58 public Date setEra(Era era) { in setEra() 92 void setLocalEra(Era era) { in setLocalEra() 105 Era era = getEra(); in toString() 132 List<Era> eras = new ArrayList<>(); in getLocalGregorianCalendar() 166 Era era = new Era(eraName, abbr, since, localTime); in getLocalGregorianCalendar() 175 Era[] eraArray = new Era[eras.size()]; in getLocalGregorianCalendar() 181 private LocalGregorianCalendar(String name, Era[] eras) { in LocalGregorianCalendar() 216 Era era = eras[i]; in adjustYear() 249 Era era = ldate.getEra(); in validate() [all …]
|
D | Era.java | 64 public final class Era { class 82 public Era(String name, String abbr, long since, boolean localTime) { in Era() method in Era 126 if (!(o instanceof Era)) { in equals() 129 Era that = (Era) o; in equals()
|
D | JulianCalendar.java | 41 private static final Era[] eras = { 42 new Era("BeforeCommonEra", "B.C.E.", Long.MIN_VALUE, false), 43 new Era("CommonEra", "C.E.", -62135709175808L, true) 58 public Date setEra(Era era) { in setEra() 69 protected void setKnownEra(Era era) { in setKnownEra() 98 Era era = getEra(); in toString()
|
D | AbstractCalendar.java | 60 private Era[] eras; 65 public Era getEra(String eraName) { in getEra() 76 public Era[] getEras() { in getEras() 77 Era[] e = null; in getEras() 79 e = new Era[eras.length]; in getEras() 90 Era e = eras[i]; in setEra() 99 protected void setEras(Era[] eras) { in setEras()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticChronology.java | 63 import java.time.chrono.Era; 212 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 220 public Era eraOf(int eraValue) { in eraOf() 225 public List<Era> eras() { in eras() 226 return Arrays.<Era>asList(CopticEra.values()); in eras()
|
D | CopticEra.java | 60 import java.time.chrono.Era; 74 public enum CopticEra implements Era {
|
D | TCKHijrahEra.java | 63 import java.time.chrono.Era; 99 List<Era> eraList = HijrahChronology.INSTANCE.eras(); in test_values()
|
D | TCKIsoEra.java | 63 import java.time.chrono.Era; 98 List<Era> eraList = IsoChronology.INSTANCE.eras(); in test_values()
|
D | TCKThaiBuddhistEra.java | 63 import java.time.chrono.Era; 102 List<Era> eraList = ThaiBuddhistChronology.INSTANCE.eras(); in test_values()
|
D | TCKMinguoEra.java | 64 import java.time.chrono.Era; 103 List<Era> eraList = MinguoChronology.INSTANCE.eras(); in test_values()
|
D | TCKJapaneseEra.java | 63 import java.time.chrono.Era; 100 List<Era> eraList = JapaneseChronology.INSTANCE.eras(); in test_values()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKEraSerialization.java | 71 import java.time.chrono.Era; 100 Era[][] data_of_calendars() { in data_of_calendars() 101 return new Era[][] { in data_of_calendars() 113 public void test_eraSerialization(Era era) throws IOException, ClassNotFoundException { in test_eraSerialization()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 31 private LocalGregorianCalendar(java.lang.String name, sun.util.calendar.Era[] eras) { in LocalGregorianCalendar() 81 private boolean validateEra(sun.util.calendar.Era era) { in validateEra() 102 public boolean isLeapYear(sun.util.calendar.Era era, int year) { in isLeapYear() 110 private sun.util.calendar.Era[] eras; 126 public sun.util.calendar.LocalGregorianCalendar.Date setEra(sun.util.calendar.Era era) { in setEra() 149 void setLocalEra(sun.util.calendar.Era era) { in setLocalEra()
|
D | AbstractCalendar.java | 36 public sun.util.calendar.Era getEra(java.lang.String eraName) { in getEra() 41 public sun.util.calendar.Era[] getEras() { in getEras() 49 protected void setEras(sun.util.calendar.Era[] eras) { in setEras() 135 private sun.util.calendar.Era[] eras;
|
D | Era.java | 29 public final class Era { class 32 public Era(java.lang.String name, java.lang.String abbr, long since, boolean localTime) { in Era() method in Era
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyTest.java | 22 import java.time.chrono.Era; 120 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 125 public Era eraOf(int eraValue) { in eraOf() 130 public List<Era> eras() { in eras()
|
D | ChronologyDisplayNameTest.java | 22 import java.time.chrono.Era; 61 List<Era> eras = chronology.eras(); in testEras() 63 for (Era era : eras) { in testEras()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahEra.java | 86 public enum HijrahEra implements Era { 155 return Era.super.range(field); in range()
|
D | JapaneseEra.java | 125 implements Era, Serializable { 131 static final sun.util.calendar.Era[] ERA_CONFIG; 214 sun.util.calendar.Era getPrivateEra() { in getPrivateEra() 322 static JapaneseEra toJapaneseEra(sun.util.calendar.Era privateEra) { in toJapaneseEra() 331 static sun.util.calendar.Era privateEraFrom(LocalDate isoDate) { in privateEraFrom() 398 return Era.super.range(field); in range()
|
D | MinguoChronology.java | 176 public MinguoDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date() 207 public MinguoDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() 295 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 308 public List<Era> eras() { in eras() 309 return Arrays.<Era>asList(MinguoEra.values()); in eras()
|
D | Chronology.java | 311 default ChronoLocalDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date() 342 default ChronoLocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() 564 int prolepticYear(Era era, int yearOfEra); in prolepticYear() 585 Era eraOf(int eraValue); in eraOf() 596 List<Era> eras(); in eras()
|
D | ThaiBuddhistChronology.java | 212 public ThaiBuddhistDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date() 243 public ThaiBuddhistDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() 331 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 344 public List<Era> eras() { in eras() 345 return Arrays.<Era>asList(ThaiBuddhistEra.values()); in eras()
|
D | IsoChronology.java | 187 public LocalDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date() 218 public LocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() 387 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 400 public List<Era> eras() { in eras() 401 return Arrays.<Era>asList(IsoEra.values()); in eras()
|
D | ThaiBuddhistEra.java | 107 public enum ThaiBuddhistEra implements Era {
|
D | IsoEra.java | 105 public enum IsoEra implements Era {
|