Lines Matching refs:cal3
383 …GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), stat… in TestBasics() local
386 cal3->clear(); in TestBasics()
387 cal3->set(UCAL_YEAR, 1980); in TestBasics()
388 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
389 cal3->set(UCAL_DATE, 2); in TestBasics()
390 logln("cal3[a]=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status)); in TestBasics()
393 logln(UnicodeString("cal3[a] = ") + d3->format(cal3->getTime(status),s)); in TestBasics()
395 cal3->clear(); in TestBasics()
396 cal3->set(UCAL_YEAR, 1980); in TestBasics()
397 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
398 cal3->set(UCAL_DATE, 27); in TestBasics()
399 logln("cal3=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status)); in TestBasics()
404 logln(UnicodeString("cal3 = ") + d3->format(cal3->getTime(status),s)); in TestBasics()
406 astro->setTime(cal3->getTime(status)); in TestBasics()
411 logln(d3->format(cal3->getTime(status),s) + " => " + jd); in TestBasics()
414 errln("FAIL: " + d3->format(cal3->getTime(status), s) + " => " + jd + in TestBasics()
426 delete cal3; in TestBasics()