Searched refs:BCE (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | IsoEra.java | 111 BCE, enumConstant 132 return BCE; in of()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | JulianCalendar.java | 38 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/ |
D | TestIsoChronology.java | 62 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/ |
D | YearMonthTest.java | 51 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/ |
D | TCKIsoEra.java | 81 {IsoEra.BCE, "BCE", 0}, in data_of_eras()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKEraSerialization.java | 103 {IsoEra.BCE}, in data_of_calendars()
|
/libcore/ojluni/src/main/java/java/util/ |
D | GregorianCalendar.java | 378 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/ |
D | IsoChronologyTest.java | 57 IsoEra expectedEra = values[0] <= 0 ? IsoEra.BCE : IsoEra.CE; in test_dateYear()
|