Lines Matching refs:toCalendar
101 Calendar *toCalendar= NULL; in testOps() local
237 toCalendar = fromCalendar->clone(); in testOps()
243 toCalendar->roll((UCalendarDateFields)q, in testOps()
246 toCalendar->add((UCalendarDateFields)q, in testOps()
265 if(!(toCalendar->getTime(status)==toDate) || U_FAILURE(status)){ in testOps()
272 } else if (!toSet.matches(toCalendar, diffSet, status)) { in testOps()
285 delete toCalendar; in testOps()
291 const CalendarFieldsSet &toSet, Calendar *toCalendar, UBool forward) { in testConvert() argument
294 : "reverse")+" "+fromCalendar->getType()+"->"+toCalendar->getType(); in testConvert()
342 toCalendar->clear(); in testConvert()
343 toCalendar->setTime(fromTime, status); in testConvert()
350 if (!toSet.matches(toCalendar, diffSet, status)) { in testConvert()
369 Calendar *toCalendar= NULL; in testConvert() local
377 toCalendar = Calendar::createInstance(toCalLoc, status); in testConvert()
438 testConvert(n, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert()
442 testConvert(n, toSet, toCalendar, fromSet, fromCalendar, forward); in testConvert()
447 delete toCalendar; in testConvert()