Home
last modified time | relevance | path

Searched refs:hd2 (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestExampleCode.java169 HijrahDate hd2 = HijrahChronology.INSTANCE.date(1200, 1, 1); in HijrahExample1() local
171 ChronoLocalDateTime<HijrahDate> hdt = hd2.atTime(LocalTime.MIDNIGHT); in HijrahExample1()
177 HijrahDate hd5 = next(hd2); in HijrahExample1()
DTestUmmAlQuraChronology.java263 HijrahDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear() local
264 int doy = hd2.get(DAY_OF_YEAR); in test_withDayOfYear()
265 assertEquals(doy, i, "with(DAY_OF_YEAR) incorrect for " + i + " " + hd2); in test_withDayOfYear()
272 HijrahDate hd2 = hd.with(DAY_OF_YEAR, 0); in test_withDayOfYearTooSmall() local
278 HijrahDate hd2 = hd.with(DAY_OF_YEAR, hd.lengthOfYear() + 1); in test_withDayOfYearTooLarge() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java679 JapaneseDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear() local
680 int doy = hd2.get(DAY_OF_YEAR); in test_withDayOfYear()
681 assertEquals(doy, i, "with(DAY_OF_YEAR) incorrect for " + i + " " + hd2); in test_withDayOfYear()