Home
last modified time | relevance | path

Searched refs:testCal (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
Dtzregts.cpp311 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()
[all …]
Dcalregts.cpp940 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status); in test4103271() local
943 delete testCal; in test4103271()
946 testCal->clear(); in test4103271()
947 sdf.adoptCalendar(testCal); in test4103271()
952 testCal->setMinimalDaysInFirstWeek((uint8_t)minDays); in test4103271()
953 testCal->setFirstDayOfWeek((UCalendarDaysOfWeek)firstDay); in test4103271()
960 testCal->set(j,11,25); in test4103271()
962 testCal->add(UCAL_DATE,1,status); in test4103271()
964 int32_t actWOY = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
966 UDate d = testCal->getTime(status); in test4103271()
[all …]
Dtzregts.h49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
/external/icu4c/test/intltest/
Dtzregts.cpp311 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()
[all …]
Dcalregts.cpp985 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status); in test4103271() local
988 delete testCal; in test4103271()
991 testCal->clear(); in test4103271()
992 sdf.adoptCalendar(testCal); in test4103271()
997 testCal->setMinimalDaysInFirstWeek((uint8_t)minDays); in test4103271()
998 testCal->setFirstDayOfWeek((UCalendarDaysOfWeek)firstDay); in test4103271()
1005 testCal->set(j,11,25); in test4103271()
1007 testCal->add(UCAL_DATE,1,status); in test4103271()
1009 int32_t actWOY = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271()
1011 UDate d = testCal->getTime(status); in test4103271()
[all …]
Dtzregts.h49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);