Lines Matching refs:cal
181 Calendar *cal = Calendar::createInstance(loc, status);
188 cal->setTimeZone(*tz);
209 cal->clear();
210 cal->setTime(now, status);
213 //int32_t oldv = cal->get((UCalendarDateFields)q, status);
215 cal->add((UCalendarDateFields)q,
218 cal->set((UCalendarDateFields)q,
221 //int32_t newv = cal->get((UCalendarDateFields)q, status);
224 fromDate = cal->getTime(status);
239 cal->clear();
244 // cal->setTime(fromDate, status);
251 fromSet.setOnCalendar(cal, status);
256 format->format(*cal, output, pos);
275 cal->clear();
277 format->parse(expectStr,*cal,pos);
279 UDate gotDate = cal->getTime(status);
293 // Calendar *cal2 = cal->clone();
303 if (!fromSet.matches(cal, diffSet, status)) {
319 delete cal;
327 //Format *cal= NULL;