Searched refs:date2004 (Results 1 – 3 of 3) sorted by relevance
518 Date date2004 = cal.getTime(); in TestLeapFieldDifference() local521 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()522 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()528 cal.setTime(date2004); in TestLeapFieldDifference()
515 Date date2004 = cal.getTime(); in TestLeapFieldDifference() local518 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()519 int d = cal.fieldDifference(date2004, Calendar.DAY_OF_YEAR); in TestLeapFieldDifference()525 cal.setTime(date2004); in TestLeapFieldDifference()
2503 UDate date2004 = cal->getTime(ec); in TestLeapFieldDifference() local2511 int32_t y = cal->fieldDifference(date2004, UCAL_YEAR, ec); in TestLeapFieldDifference()2512 int32_t d = cal->fieldDifference(date2004, UCAL_DAY_OF_YEAR, ec); in TestLeapFieldDifference()2523 cal->setTime(date2004, ec); in TestLeapFieldDifference()