Searched refs:bceYm (Results 1 – 1 of 1) sorted by relevance
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 43 YearMonth bceYm = YearMonth.of(-1999, Month.JANUARY); in test_with_TemporalField_long() local 49 bceYm.with(ChronoField.MONTH_OF_YEAR, 12)); in test_with_TemporalField_long() 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() 54 assertEquals(ym, bceYm.with(ChronoField.ERA, IsoEra.CE.getValue())); in test_with_TemporalField_long() 57 assertEquals(YearMonth.of(0, Month.JANUARY), bceYm.with(ChronoField.YEAR_OF_ERA, 1)); in test_with_TemporalField_long()
|