Lines Matching refs:cal3
380 …GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), stat… in TestBasics() local
383 cal3->clear(); in TestBasics()
384 cal3->set(UCAL_YEAR, 1980); in TestBasics()
385 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
386 cal3->set(UCAL_DATE, 2); in TestBasics()
387 logln("cal3[a]=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status)); in TestBasics()
390 logln(UnicodeString("cal3[a] = ") + d3->format(cal3->getTime(status),s)); in TestBasics()
392 cal3->clear(); in TestBasics()
393 cal3->set(UCAL_YEAR, 1980); in TestBasics()
394 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
395 cal3->set(UCAL_DATE, 27); in TestBasics()
396 logln("cal3=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status)); in TestBasics()
401 logln(UnicodeString("cal3 = ") + d3->format(cal3->getTime(status),s)); in TestBasics()
403 astro->setTime(cal3->getTime(status)); in TestBasics()
408 logln(d3->format(cal3->getTime(status),s) + " => " + jd); in TestBasics()
411 errln("FAIL: " + d3->format(cal3->getTime(status), s) + " => " + jd + in TestBasics()
423 delete cal3; in TestBasics()