/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() 89 assertEquals(HijrahChronology.INSTANCE.eraOf(eraValue), era); in test_valueOf() local 90 assertEquals(HijrahEra.of(eraValue), era); in test_valueOf() local 91 assertEquals(HijrahEra.valueOf(eraName), era); in test_valueOf() local
|
D | TCKIsoEra.java | 87 public void test_valueOf(IsoEra era , String eraName, int eraValue) { in test_valueOf() 89 assertEquals(IsoEra.of(eraValue), era); in test_valueOf() local 90 assertEquals(IsoEra.valueOf(eraName), era); in test_valueOf() local
|
D | TCKThaiBuddhistEra.java | 91 public void test_valueOf(ThaiBuddhistEra era , String eraName, int eraValue) { in test_valueOf() 93 assertEquals(ThaiBuddhistEra.of(eraValue), era); in test_valueOf() local 94 assertEquals(ThaiBuddhistEra.valueOf(eraName), era); in test_valueOf() local
|
D | TCKMinguoEra.java | 91 public void test_valueOf(MinguoEra era , String eraName, int eraValue) { in test_valueOf() 93 assertEquals(MinguoEra.of(eraValue), era); in test_valueOf() local 94 assertEquals(MinguoEra.valueOf(eraName), era); in test_valueOf() local
|
D | TCKJapaneseEra.java | 89 public void test_valueOf(JapaneseEra era , String eraName, int eraValue) { in test_valueOf() 91 assertEquals(JapaneseEra.of(eraValue), era); in test_valueOf() local 92 assertEquals(JapaneseEra.valueOf(eraName), era); in test_valueOf() local
|
D | CopticEra.java | 98 public static CopticEra of(int era) { in of()
|
D | TCKJapaneseChronology.java | 196 … public void test_createEymd(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDate iso) { in test_createEymd() 204 public void test_createEyd(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDate iso) { in test_createEyd() 212 …public void test_createByEra_isEqual(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDat… in test_createByEra_isEqual() 219 …public void test_createByEra_chronologyTemporalFactory(JapaneseEra era, int yoe, int moy, int dom,… in test_createByEra_chronologyTemporalFactory() 226 …public void test_createByEra_dateFrom(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDa… in test_createByEra_dateFrom() 233 …public void test_createByEra_query(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDate … in test_createByEra_query() 239 …public void test_createByEra_epochDay(JapaneseEra era, int yoe, int moy, int dom, int doy, LocalDa… in test_createByEra_epochDay() 390 …public void test_prolepticYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, b… in test_prolepticYear() 398 …public void test_isLeapYear(int eraValue, Era era, int yearOfEra, int expectedProlepticYear, bool… in test_isLeapYear() 429 public void test_prolepticYearError(Era era, int yearOfEra) { in test_prolepticYearError() [all …]
|
D | CopticChronology.java | 212 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear()
|
D | TCKHijrahChronology.java | 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()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronology.java | 180 …public void test_transitions(JapaneseEra era, int yearOfEra, int month, int dayOfMonth, int gregor… in test_transitions() 198 …public void test_firstDayOfEra(JapaneseEra era, int yearOfEra, int dayOfYear, int month, int dayOf… in test_firstDayOfEra() 205 public void test_invalidDate(JapaneseEra era, int yearOfEra, int month, int dayOfMonth) { in test_invalidDate() 211 public void test_invalidEraYear(JapaneseEra era, int yearOfEra) { in test_invalidEraYear() 217 public void test_invalidDayYear(JapaneseEra era, int yearOfEra, int dayOfYear) { in test_invalidDayYear() 223 public void test_eraName(String eraName, JapaneseEra era, Class expectedEx) { in test_eraName() 225 assertEquals(JapaneseEra.valueOf(eraName), era); in test_eraName() local
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 58 public Date setEra(Era era) { in setEra() 92 void setLocalEra(Era era) { in setLocalEra() 105 Era era = getEra(); in toString() local 166 Era era = new Era(eraName, abbr, since, localTime); in getLocalGregorianCalendar() local 216 Era era = eras[i]; in adjustYear() local 249 Era era = ldate.getEra(); in validate() local 270 private boolean validateEra(Era era) { in validateEra() 296 Era era = null; in normalize() local 364 Era era = ldate.getEra(); in normalizeYear() local 381 public boolean isLeapYear(Era era, int year) { in isLeapYear()
|
D | JulianCalendar.java | 58 public Date setEra(Era era) { in setEra() 69 protected void setKnownEra(Era era) { in setKnownEra() 98 Era era = getEra(); in toString() local
|
D | CalendarDate.java | 67 private Era era; field in CalendarDate 113 public CalendarDate setEra(Era era) { in setEra() 418 int era = 0; in hashCode() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseChronology.java | 211 public JapaneseDate date(Era era, int yearOfEra, int month, int dayOfMonth) { in date() 259 public JapaneseDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() 351 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear() 441 JapaneseEra era = null; in resolveYearOfEra() local 468 private int prolepticYearLenient(JapaneseEra era, int yearOfEra) { in prolepticYearLenient() 472 …private ChronoLocalDate resolveYMD(JapaneseEra era, int yoe, Map<TemporalField,Long> fieldValues, … in resolveYMD() 505 …private ChronoLocalDate resolveYD(JapaneseEra era, int yoe, Map <TemporalField,Long> fieldValues, … in resolveYD()
|
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() 514 Long era = fieldValues.remove(ERA); in resolveYearOfEra() local
|
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()
|
D | JapaneseDate.java | 136 private transient JapaneseEra era; field in JapaneseDate 220 public static JapaneseDate of(JapaneseEra era, int yearOfEra, int month, int dayOfMonth) { in of() 277 static JapaneseDate ofYearDay(JapaneseEra era, int yearOfEra, int dayOfYear) { in ofYearDay() 341 JapaneseDate(JapaneseEra era, int year, LocalDate isoDate) { in JapaneseDate() 587 private JapaneseDate withYear(JapaneseEra era, int yearOfEra) { in withYear()
|
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()
|
D | JapaneseEra.java | 314 JapaneseEra era = KNOWN_ERAS[i]; in from() local 333 JapaneseEra era = KNOWN_ERAS[i]; in privateEraFrom() local
|
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()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 81 private boolean validateEra(sun.util.calendar.Era era) { in validateEra() 102 public boolean isLeapYear(sun.util.calendar.Era era, int year) { in isLeapYear() 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()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKEraSerialization.java | 113 public void test_eraSerialization(Era era) throws IOException, ClassNotFoundException { in test_eraSerialization()
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 435 int era = internalGet(ERA) + amount; in add() local 1004 Era era = eras[fieldValue]; in getDisplayName() local 1033 Era era = eras[i]; in getDisplayNames() local 1643 int era = getEraIndex(jdate); in computeFields() local 1873 int era; in computeTime() local 1994 private long getFixedDate(int era, int year, int fieldMask) { in getFixedDate() 2140 Era era = date.getEra(); in getFixedDateJan1() local 2269 Era era = date.getEra(); in getEraIndex() local
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyTest.java | 120 public int prolepticYear(Era era, int yearOfEra) { in prolepticYear()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTimeZoneTest.java | 29 … public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset()
|