Home
last modified time | relevance | path

Searched refs:CE (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DIsoEra.java116 CE; enumConstant
134 return CE; in of()
DIsoChronology.java391 return (era == IsoEra.CE ? yearOfEra : 1 - yearOfEra); in prolepticYear()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronology.java288 ChronoLocalDate date1 = chrono.dateYearDay(IsoEra.CE, 5, 60); in test_IsoChronology_dateYearDay()
289 ChronoLocalDate date2 = chrono.date(IsoEra.CE, 5, 3, 1); in test_IsoChronology_dateYearDay()
290 assertEquals(date1, IsoChronology.INSTANCE.dateYearDay(IsoEra.CE, 5, 60)); in test_IsoChronology_dateYearDay()
291 assertEquals(date2, IsoChronology.INSTANCE.dateYearDay(IsoEra.CE, 5, 60)); in test_IsoChronology_dateYearDay()
DTCKIsoEra.java82 {IsoEra.CE, "CE", 1}, in data_of_eras()
/libcore/ojluni/src/main/java/sun/util/calendar/
DJulianCalendar.java39 private static final int CE = 1; field in JulianCalendar
90 setKnownEra(eras[CE]); in setNormalizedYear()
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java50 assertSame(ym, ym.with(ChronoField.ERA, IsoEra.CE.getValue())); in test_with_TemporalField_long()
54 assertEquals(ym, bceYm.with(ChronoField.ERA, IsoEra.CE.getValue())); in test_with_TemporalField_long()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java396 static final int CE = 1; field in GregorianCalendar
460 CE, // ERA
479 CE, // ERA
935 if (internalGetEra() == CE) {
952 set(ERA, CE);
967 if (internalGetEra() == CE) {
984 set(ERA, CE);
1480 set(ERA, (d.getNormalizedYear() <= 0 ? BCE : CE)); in roll()
1957 if (gc.internalGetEra() == CE) { in getActualMaximum()
2389 int era = CE; in computeFields()
[all …]
DSimpleTimeZone.java665 if (!useDaylight || year < startYear || era != GregorianCalendar.CE) { in getOffset()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKEraSerialization.java104 {IsoEra.CE}, in data_of_calendars()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTestIsoChronology.java63 import static java.time.chrono.IsoEra.CE;
122 assertEquals(IsoChronology.INSTANCE.eraOf(1), CE); in test_eraOf()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DIsoChronologyTest.java57 IsoEra expectedEra = values[0] <= 0 ? IsoEra.BCE : IsoEra.CE; in test_dateYear()
/libcore/luni/src/test/java/libcore/java/util/
DEnumSetTest.java104 IN, SN, SB, TE, I, XE, CS, BA, LA, CE, PR, ND, PM, SM, EU, GD, TB, DY, HO, ER, TM, YB, LU, enumConstant
/libcore/api/
Dcurrent.txt11526 enum_constant public static final java.time.chrono.IsoEra CE;