/libcore/luni/src/test/java/tests/sql/ |
ResultSetGetterTests.java | 1447 Calendar cal2 = new GregorianCalendar(); local 1525 Calendar cal2 = new GregorianCalendar(); local 1624 Calendar cal2 = new GregorianCalendar(); local 1695 Calendar cal2 = new GregorianCalendar(); local 1765 Calendar cal2 = new GregorianCalendar(); local 1843 Calendar cal2 = new GregorianCalendar(); local 1927 Calendar cal2 = new GregorianCalendar(); local 2008 Calendar cal2 = new GregorianCalendar(); local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
incaltst.cpp | 495 Calendar *cal2 = cal->clone(); local 522 fmt->parse(expected, *cal2, pp); 524 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 567 fmt->parse(expected, *cal2, pp); 570 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 577 delete cal2; 636 Calendar *cal2 = cal->clone(); local 654 cal2->clear(); 659 fmt->parse(samplestr, *cal2, pp); 661 logln("*cal2 after 119 parse:") [all...] |
astrotst.cpp | 271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); local 298 cal2->setTime(cal->getTime(status), status); 299 cal2->set(UCAL_SECOND, 0); 300 cal2->set(UCAL_MILLISECOND, 0); 302 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+0]); 303 cal2->set(UCAL_MINUTE, USNO[4*i+1]); 304 UDate exprise = cal2->getTime(status); 305 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+2]); 306 cal2->set(UCAL_MINUTE, USNO[4*i+3]); 307 UDate expset = cal2->getTime(status) [all...] |
calregts.cpp | 183 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; local 186 printdate(cal2, "cal2 - cloned(): ") ; 190 printdate(cal2, "cal2 should be unmodified:") ; 192 delete cal2; 759 GregorianCalendar *cal2 = new GregorianCalendar(1997, 10, 11, 10, 20, 40,status); local 760 /*cal2.set( Calendar::YEAR, 1997 ); 761 cal2.set( Calendar::MONTH, 10 ); 762 cal2.set( Calendar::DATE, 11 ); 813 Calendar *cal2 = new GregorianCalendar(*GMT,status); local 1432 GregorianCalendar *cal2 = (GregorianCalendar*)cal->clone(); local 2225 Calendar *cal2 = cal.clone(); local [all...] |
caltest.cpp | 283 Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status); local 286 cal2->setTime(when, status); 289 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed"); 290 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed"); 291 if (!cal->equals(*cal2, status) || 292 cal->before(*cal2, status) || 293 cal->after(*cal2, status) || 297 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2))); [all...] |
/external/icu4c/test/intltest/ |
incaltst.cpp | 495 Calendar *cal2 = cal->clone(); local 522 fmt->parse(expected, *cal2, pp); 524 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 553 fmt->parse(expected, *cal2, pp); 556 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) ); 563 delete cal2; 619 Calendar *cal2 = cal->clone(); local 637 cal2->clear(); 642 fmt->parse(samplestr, *cal2, pp); 644 logln("*cal2 after 119 parse:") [all...] |
astrotst.cpp | 271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); local 298 cal2->setTime(cal->getTime(status), status); 299 cal2->set(UCAL_SECOND, 0); 300 cal2->set(UCAL_MILLISECOND, 0); 302 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+0]); 303 cal2->set(UCAL_MINUTE, USNO[4*i+1]); 304 UDate exprise = cal2->getTime(status); 305 cal2->set(UCAL_HOUR_OF_DAY, USNO[4*i+2]); 306 cal2->set(UCAL_MINUTE, USNO[4*i+3]); 307 UDate expset = cal2->getTime(status) [all...] |
calregts.cpp | 183 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; local 186 printdate(cal2, "cal2 - cloned(): ") ; 190 printdate(cal2, "cal2 should be unmodified:") ; 192 delete cal2; 771 GregorianCalendar *cal2 = new GregorianCalendar(1997, 10, 11, 10, 20, 40,status); local 772 /*cal2.set( Calendar::YEAR, 1997 ); 773 cal2.set( Calendar::MONTH, 10 ); 774 cal2.set( Calendar::DATE, 11 ); 837 Calendar *cal2 = new GregorianCalendar(*GMT,status); local 1461 GregorianCalendar *cal2 = (GregorianCalendar*)cal->clone(); local 2254 Calendar *cal2 = cal.clone(); local [all...] |
caltest.cpp | 291 Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status); local 294 cal2->setTime(when, status); 297 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed"); 298 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed"); 299 if (!cal->equals(*cal2, status) || 300 cal->before(*cal2, status) || 301 cal->after(*cal2, status) || 305 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2))); [all...] |
/external/chromium/third_party/icu/public/i18n/unicode/ |
ucal.h | 925 * @param cal2 The second of the UCalendars to compare. 926 * @return TRUE if cal1 and cal2 are equivalent, FALSE otherwise. 931 const UCalendar* cal2); [all...] |
/external/icu4c/i18n/unicode/ |
ucal.h | 945 * @param cal2 The second of the UCalendars to compare. 946 * @return TRUE if cal1 and cal2 are equivalent, FALSE otherwise. 951 const UCalendar* cal2); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
ucal.cpp | 372 const UCalendar* cal2) 375 return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2));
|
/external/icu4c/i18n/ |
ucal.cpp | 375 const UCalendar* cal2) 378 return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2));
|