Lines Matching refs:cal2
272 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); in TestSunriseTimes() local
299 cal2->setTime(cal->getTime(status), status); in TestSunriseTimes()
300 cal2->set(UCAL_SECOND, 0); in TestSunriseTimes()
301 cal2->set(UCAL_MILLISECOND, 0); in TestSunriseTimes()
303 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+0]); in TestSunriseTimes()
304 cal2->set(UCAL_MINUTE, USNO[4*i+1]); in TestSunriseTimes()
305 UDate exprise = cal2->getTime(status); in TestSunriseTimes()
306 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+2]); in TestSunriseTimes()
307 cal2->set(UCAL_MINUTE, USNO[4*i+3]); in TestSunriseTimes()
308 UDate expset = cal2->getTime(status); in TestSunriseTimes()
364 delete cal2; in TestSunriseTimes()