HomeSort by relevance Sort by last modified time
    Searched defs:cal2 (Results 1 - 7 of 7) sorted by null

  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DateFormatTest.java 67 Calendar cal2 = format.getCalendar(); local
68 assertTrue("Calendars not identical", cal1 == cal2);
  /external/icu4c/test/intltest/
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...]
incaltst.cpp 497 Calendar *cal2 = cal->clone(); local
524 fmt->parse(expected, *cal2, pp);
526 errln("Parse incorrect of " + expected + " - wanted " + aDate + " but got " + " = " + otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
555 fmt->parse(expected, *cal2, pp);
558 otherDate + ", " + str3 + " = " + CalendarTest::calToStr(*cal2) );
565 delete cal2;
621 Calendar *cal2 = cal->clone(); local
639 cal2->clear();
644 fmt->parse(samplestr, *cal2, pp);
646 logln("*cal2 after 119 parse:")
    [all...]
caltest.cpp 341 Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status); local
344 cal2->setTime(when, status);
347 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed");
348 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed");
349 if (!cal->equals(*cal2, status) ||
350 cal->before(*cal2, status) ||
351 cal->after(*cal2, status) ||
355 logln(UnicodeString("cal2=") +cal2->getTime(status) + UnicodeString(calToStr(*cal2)));
2349 Calendar* cal2 = cal->clone(); local
    [all...]
calregts.cpp 188 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; local
191 printdate(cal2, "cal2 - cloned(): ") ;
195 printdate(cal2, "cal2 should be unmodified:") ;
197 delete cal2;
206 LocalPointer<GregorianCalendar> cal2(new GregorianCalendar(status));
208 cal2->set(UCAL_HOUR,2);
210 cal2->clear();
217 cal2->set(2012,UCAL_JANUARY,06)
816 GregorianCalendar *cal2 = new GregorianCalendar(1997, 10, 11, 10, 20, 40,status); local
882 Calendar *cal2 = new GregorianCalendar(*GMT,status); local
1514 GregorianCalendar *cal2 = (GregorianCalendar*)cal->clone(); local
2307 Calendar *cal2 = cal.clone(); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldResultSetGetterTests.java 938 Calendar cal2 = new GregorianCalendar(); local
939 cal2.set(Calendar.YEAR, 2007);
940 cal2.set(Calendar.MONTH, Calendar.OCTOBER);
941 cal2.set(Calendar.DATE, 9);
942 cal2.set(Calendar.HOUR_OF_DAY, 14);
943 cal2.set(Calendar.MINUTE, 28);
944 cal2.set(Calendar.SECOND, 02);
945 cal2.set(Calendar.MILLISECOND, 0);
947 long millis2 = cal2.getTime().getTime();
995 Calendar cal2 = new GregorianCalendar() local
1068 Calendar cal2 = new GregorianCalendar(); local
1120 Calendar cal2 = new GregorianCalendar(); local
1167 Calendar cal2 = new GregorianCalendar(); local
1224 Calendar cal2 = new GregorianCalendar(); local
1287 Calendar cal2 = new GregorianCalendar(); local
1347 Calendar cal2 = new GregorianCalendar(); local
    [all...]
  /prebuilts/tools/common/m2/internal/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar 

Completed in 153 milliseconds