Lines Matching refs:testCal
313 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status); in Test4109314() local
316 delete testCal; in Test4109314()
334 testCal->setTimeZone(*PST); in Test4109314()
337 while(testCal->getTime(status) < end) { in Test4109314()
338 testCal->setTime(t, status); in Test4109314()
339 if ( ! checkCalendar314(testCal, PST)) in Test4109314()
347 delete testCal; in Test4109314()
352 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ) in checkCalendar314() argument
362 UDate millis = testCal->get(UCAL_MILLISECOND, status) + in checkCalendar314()
363 1000.0 * (testCal->get(UCAL_SECOND, status) + in checkCalendar314()
364 60.0 * (testCal->get(UCAL_MINUTE, status) + in checkCalendar314()
365 60.0 * (testCal->get(UCAL_HOUR_OF_DAY, status)))) - in checkCalendar314()
366 testCal->get(UCAL_DST_OFFSET, status); in checkCalendar314()
373 int32_t date = testCal->get(UCAL_DATE, status); in checkCalendar314()
374 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); in checkCalendar314()
386 tzOffset = testTZ->getOffset((uint8_t)testCal->get(UCAL_ERA, status), in checkCalendar314()
387 testCal->get(UCAL_YEAR, status), in checkCalendar314()
388 testCal->get(UCAL_MONTH, status), in checkCalendar314()
397 UDate testDate = testCal->getTime(status); in checkCalendar314()
401 sdf->setCalendar(*testCal); in checkCalendar314()