Home
last modified time | relevance | path

Searched refs:cal3 (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/test/intltest/
Dastrotst.cpp378 …GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), stat… in TestBasics() local
381 cal3->clear(); in TestBasics()
382 cal3->set(UCAL_YEAR, 1980); in TestBasics()
383 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
384 cal3->set(UCAL_DATE, 2); in TestBasics()
385 logln("cal3[a]=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status)); in TestBasics()
388 logln(UnicodeString("cal3[a] = ") + d3->format(cal3->getTime(status),s)); in TestBasics()
390 cal3->clear(); in TestBasics()
391 cal3->set(UCAL_YEAR, 1980); in TestBasics()
392 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
[all …]
Dcalregts.cpp813 Calendar *cal3 = new GregorianCalendar(*PST,status); in test4096231() local
824 cal3->set(year, month, day, hr, min, sec); in test4096231()
825 logln(UnicodeString("RPST 1 is: ") + (t2=cal3->getTime(status))); in test4096231()
826 cal3->setTimeZone(*GMT); in test4096231()
827 logln(UnicodeString("RGMT 2 is: ") + (t3=cal3->getTime(status))); in test4096231()
828 cal3->set(cal1->get(UCAL_YEAR,status), in test4096231()
837 logln(UnicodeString("RGMT 3 is: ") + (t4=cal3->getTime(status))); in test4096231()
845 delete cal3; in test4096231()