Home
last modified time | relevance | path

Searched refs:BCE (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DIsoEra.java111 BCE, enumConstant
132 return BCE; in of()
/libcore/ojluni/src/main/java/sun/util/calendar/
DJulianCalendar.java38 private static final int BCE = 0; field in JulianCalendar
74 if (getEra() == eras[BCE]) { in getNormalizedYear()
87 setKnownEra(eras[BCE]); in setNormalizedYear()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTestIsoChronology.java62 import static java.time.chrono.IsoEra.BCE;
121 assertEquals(IsoChronology.INSTANCE.eraOf(0), BCE); in test_eraOf()
188 LocalDate test = IsoChronology.INSTANCE.date(IsoEra.BCE, year, month, dayOfMonth); in test_date_withEra()
189 assertEquals(test.getEra(), IsoEra.BCE); in test_date_withEra()
/libcore/luni/src/test/java/libcore/java/time/
DYearMonthTest.java51 assertSame(bceYm, bceYm.with(ChronoField.ERA, IsoEra.BCE.getValue())); in test_with_TemporalField_long()
53 assertEquals(bceYm, ym.with(ChronoField.ERA, IsoEra.BCE.getValue())); in test_with_TemporalField_long()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKIsoEra.java81 {IsoEra.BCE, "BCE", 0}, in data_of_eras()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKEraSerialization.java103 {IsoEra.BCE}, in data_of_calendars()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java378 static final int BCE = 0; field in GregorianCalendar
441 BCE, // ERA
942 set(ERA, BCE);
974 set(ERA, BCE);
1480 set(ERA, (d.getNormalizedYear() <= 0 ? BCE : CE)); in roll()
2088 if (internalGetEra() == BCE) { in getWeekYear()
2418 era = BCE; in computeFields()
2430 era = BCE; in computeFields()
2679 if (era == BCE) { in computeTime()
3299 if (internalGetEra() == BCE) { in monthLength()
[all …]
/libcore/luni/src/test/java/libcore/java/time/chrono/
DIsoChronologyTest.java57 IsoEra expectedEra = values[0] <= 0 ? IsoEra.BCE : IsoEra.CE; in test_dateYear()