Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java618 public void test_compareDates(HijrahDate hdate, LocalDate ldate, int result1, int result2) { in test_compareDates() argument
619 assertEquals(ldate.compareTo(hdate), result1); in test_compareDates()
620 assertEquals(hdate.compareTo(ldate), result2); in test_compareDates()
626 ChronoLocalDate hdate = HijrahChronology.INSTANCE.date(1434, 6, 28); in test_chronoFields() local
627 assertEquals(hdate.get(ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH), 3); in test_chronoFields()
628 assertEquals(hdate.get(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR), 7); in test_chronoFields()
629 assertEquals(hdate.get(ChronoField.ALIGNED_WEEK_OF_MONTH), 4); in test_chronoFields()
630 assertEquals(hdate.get(ChronoField.ALIGNED_WEEK_OF_YEAR), 25); in test_chronoFields()
631 assertEquals(hdate.get(ChronoField.ERA), 1); in test_chronoFields()
632 assertEquals(hdate.get(ChronoField.YEAR_OF_ERA), 1434); in test_chronoFields()
[all …]