/external/icu4c/test/intltest/ |
astrotst.cpp | 382 GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status); local 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)) [all...] |
calregts.cpp | 838 Calendar *cal3 = new GregorianCalendar(*PST,status); local 840 cal3->set(UCAL_MILLISECOND, 0); 851 cal3->set(year, month, day, hr, min, sec); 852 logln(UnicodeString("RPST 1 is: ") + (t2=cal3->getTime(status))); 853 cal3->setTimeZone(*GMT); 854 logln(UnicodeString("RGMT 2 is: ") + (t3=cal3->getTime(status))); 855 cal3->set(cal1->get(UCAL_YEAR,status), 864 logln(UnicodeString("RGMT 3 is: ") + (t4=cal3->getTime(status))); 872 delete cal3; [all...] |
caltest.cpp | 418 Calendar *cal3 = Calendar::createInstance(status); local 419 cal3->roll(Calendar::SECOND, (int32_t)0, status); 424 delete cal3; [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 1180 Calendar cal3 = new GregorianCalendar(); local 1237 Calendar cal3 = new GregorianCalendar(); local 1300 Calendar cal3 = new GregorianCalendar(); local 1360 Calendar cal3 = new GregorianCalendar(); local [all...] |