Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java116 public void Test_UmmAlQuraVsISODates(HijrahDate hd, LocalDate ld) { in Test_UmmAlQuraVsISODates() argument
117 …assertEquals(hd.toEpochDay(), ld.toEpochDay(), "Umm alQura date and ISO date should have same epoc… in Test_UmmAlQuraVsISODates()
253 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, i); in test_getDayOfYear() local
254 int doy = hd.get(DAY_OF_YEAR); in test_getDayOfYear()
261 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, 1); in test_withDayOfYear() local
262 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear()
263 HijrahDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear()
271 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1435, 1); in test_withDayOfYearTooSmall() local
272 HijrahDate hd2 = hd.with(DAY_OF_YEAR, 0); in test_withDayOfYearTooSmall()
277 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1435, 1); in test_withDayOfYearTooLarge() local
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java1048 WNode hd = new WNode(WMODE, null); in acquireWrite() local
1049 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireWrite()
1050 wtail = hd; in acquireWrite()
1172 WNode hd = new WNode(WMODE, null); in acquireRead() local
1173 if (U.compareAndSwapObject(this, WHEAD, null, hd)) in acquireRead()
1174 wtail = hd; in acquireRead()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java668 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(era, firstYear, i); in test_getDayOfYear() local
669 int doy = hd.get(DAY_OF_YEAR); in test_getDayOfYear()
670 assertEquals(doy, i, "get(DAY_OF_YEAR) incorrect for " + i + ", of date: " + hd); in test_getDayOfYear()
677 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(1990, 1); in test_withDayOfYear() local
678 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear()
679 JapaneseDate hd2 = hd.with(DAY_OF_YEAR, i); in test_withDayOfYear()
DTCKMinguoChronology.java208 MinguoDate hd = minguoDate; in test_MinguoDate() local
209 ChronoLocalDateTime<MinguoDate> hdt = hd.atTime(LocalTime.NOON); in test_MinguoDate()
DTCKHijrahChronology.java158 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(year, lengthOfYear + 1); in test_ofYearDayTooLarge() local