Home | History | Annotate | Download | only in intltest

Lines Matching refs:cal3

382   GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status);
385 cal3->clear();
386 cal3->set(UCAL_YEAR, 1980);
387 cal3->set(UCAL_MONTH, UCAL_JULY);
388 cal3->set(UCAL_DATE, 2);
389 logln("cal3[a]=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status));
392 logln(UnicodeString("cal3[a] = ") + d3->format(cal3->getTime(status),s));
394 cal3->clear();
395 cal3->set(UCAL_YEAR, 1980);
396 cal3->set(UCAL_MONTH, UCAL_JULY);
397 cal3->set(UCAL_DATE, 27);
398 logln("cal3=%.1lf, d=%d\n", cal3->getTime(status), cal3->get(UCAL_JULIAN_DAY,status));
403 logln(UnicodeString("cal3 = ") + d3->format(cal3->getTime(status),s));
405 astro->setTime(cal3->getTime(status));
410 logln(d3->format(cal3->getTime(status),s) + " => " + jd);
413 errln("FAIL: " + d3->format(cal3->getTime(status), s) + " => " + jd +
417 // cal3.clear();
418 // cal3.set(cal3.YEAR, 1990);
419 // cal3.set(cal3.MONTH, Calendar.JANUARY);
420 // cal3.set(cal3.DATE, 1);
421 // cal3.add(cal3.DATE, -1);
422 // astro.setDate(cal3.getTime());
425 delete cal3;