Searched refs:date2004 (Results 1 – 2 of 2) sorted by relevance
500 Date date2004 = cal.getTime(); in TestLeapFieldDifference() local503 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()504 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()510 cal.setTime(date2004); in TestLeapFieldDifference()
2485 UDate date2004 = cal->getTime(ec); in TestLeapFieldDifference() local2493 int32_t y = cal->fieldDifference(date2004, UCAL_YEAR, ec); in TestLeapFieldDifference()2494 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()2505 cal->setTime(date2004, ec); in TestLeapFieldDifference()