Home | History | Annotate | Download | only in intltest

Lines Matching defs:testCal

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