Searched refs:ym (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 1175 {ym(2000, 1), ym(-1, 12), MONTHS, -2000 * 12 - 1}, in data_periodUntilUnit() 1176 {ym(2000, 1), ym(0, 1), MONTHS, -2000 * 12}, in data_periodUntilUnit() 1177 {ym(2000, 1), ym(0, 12), MONTHS, -1999 * 12 - 1}, in data_periodUntilUnit() 1178 {ym(2000, 1), ym(1, 1), MONTHS, -1999 * 12}, in data_periodUntilUnit() 1179 {ym(2000, 1), ym(1999, 12), MONTHS, -1}, in data_periodUntilUnit() 1180 {ym(2000, 1), ym(2000, 1), MONTHS, 0}, in data_periodUntilUnit() 1181 {ym(2000, 1), ym(2000, 2), MONTHS, 1}, in data_periodUntilUnit() 1182 {ym(2000, 1), ym(2000, 3), MONTHS, 2}, in data_periodUntilUnit() 1183 {ym(2000, 1), ym(2000, 12), MONTHS, 11}, in data_periodUntilUnit() 1184 {ym(2000, 1), ym(2001, 1), MONTHS, 12}, in data_periodUntilUnit() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 41 YearMonth ym = YearMonth.of(2000, Month.JANUARY); in test_with_TemporalField_long() local 45 assertEquals(YearMonth.of(1000, Month.JANUARY), ym.with(ChronoField.YEAR, 1000)); in test_with_TemporalField_long() 46 assertEquals(YearMonth.of(-1, Month.JANUARY), ym.with(ChronoField.YEAR, -1)); in test_with_TemporalField_long() 47 assertEquals(YearMonth.of(2000, Month.FEBRUARY), ym.with(ChronoField.MONTH_OF_YEAR, 2)); in test_with_TemporalField_long() 50 assertSame(ym, ym.with(ChronoField.ERA, IsoEra.CE.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() 55 assertEquals(YearMonth.of(1, Month.JANUARY), ym.with(ChronoField.YEAR_OF_ERA, 1)); in test_with_TemporalField_long() 58 assertEquals(YearMonth.of(0, Month.JANUARY), ym.with(ChronoField.PROLEPTIC_MONTH, 0)); in test_with_TemporalField_long() 59 …assertEquals(YearMonth.of(Year.MAX_VALUE, Month.DECEMBER), ym.with(ChronoField.PROLEPTIC_MONTH, Ye… in test_with_TemporalField_long() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 278 YearMonth ym = YearMonth.of(2008, 6); in data_format_withZone_withChronology() local 289 {null, null, ym, "2008::::ISO"}, in data_format_withZone_withChronology() 299 {IsoChronology.INSTANCE, null, ym, "2008::::ISO"}, in data_format_withZone_withChronology() 309 {null, ZONE_PARIS, ym, "2008:::Europe/Paris:ISO"}, in data_format_withZone_withChronology() 319 {null, OFFSET_PTHREE, ym, "2008:::+03:00:ISO"}, in data_format_withZone_withChronology() 329 {ThaiBuddhistChronology.INSTANCE, null, ym, null}, // not a complete date in data_format_withZone_withChronology() 339 {ThaiBuddhistChronology.INSTANCE, ZONE_PARIS, ym, null}, // not a complete date in data_format_withZone_withChronology()
|