Lines Matching refs:testCal
311 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status); in Test4109314() local
314 delete testCal; in Test4109314()
332 testCal->setTimeZone(*PST); in Test4109314()
335 while(testCal->getTime(status) < end) { in Test4109314()
336 testCal->setTime(t, status); in Test4109314()
337 if ( ! checkCalendar314(testCal, PST)) in Test4109314()
345 delete testCal; in Test4109314()
350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ) in checkCalendar314() argument
360 UDate millis = testCal->get(UCAL_MILLISECOND, status) + in checkCalendar314()
361 1000.0 * (testCal->get(UCAL_SECOND, status) + in checkCalendar314()
362 60.0 * (testCal->get(UCAL_MINUTE, status) + in checkCalendar314()
363 60.0 * (testCal->get(UCAL_HOUR_OF_DAY, status)))) - in checkCalendar314()
364 testCal->get(UCAL_DST_OFFSET, status); in checkCalendar314()
371 int32_t date = testCal->get(UCAL_DATE, status); in checkCalendar314()
372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); in checkCalendar314()
384 tzOffset = testTZ->getOffset((uint8_t)testCal->get(UCAL_ERA, status), in checkCalendar314()
385 testCal->get(UCAL_YEAR, status), in checkCalendar314()
386 testCal->get(UCAL_MONTH, status), in checkCalendar314()
395 UDate testDate = testCal->getTime(status); in checkCalendar314()
399 sdf->setCalendar(*testCal); in checkCalendar314()