/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 812 Calendar cal1 = Calendar.getInstance(TimeZone.getTimeZone("GMT+2"), defaultLocale); local 815 cal1.setTimeInMillis(1222185600225L); 817 assertFalse(cal1.toString().equals(cal2.toString())); 818 cal1.get(Calendar.YEAR); 820 cal1.set(Calendar.MILLISECOND, 0); 823 assertTrue(cal1.toString().equals(cal2.toString())); 833 Calendar cal1 = Calendar.getInstance(TimeZone.getTimeZone("GMT+2"), defaultLocale); local 836 cal1.setTimeInMillis(1222185600225L); 838 assertFalse(cal1.equals(cal2)); 839 cal1.get(Calendar.YEAR) 931 Calendar cal1 = Calendar.getInstance(Locale.FRANCE); local 947 Calendar cal1 = Calendar.getInstance(TimeZone.getTimeZone("GMT-6")); local 964 Calendar cal1 = Calendar.getInstance(TimeZone.getTimeZone("GMT-6"), Locale.FRANCE); local 1039 Calendar cal1 = Calendar.getInstance(); local 1292 Calendar cal1 = Calendar.getInstance(); local [all...] |
/external/icu4c/test/intltest/ |
calregts.cpp | 176 GregorianCalendar *cal1 = new GregorianCalendar(status) ; local 179 delete cal1; 183 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; 185 printdate(cal1, "cal1: ") ; 187 cal1->add(UCAL_DATE, 1, status) ; 188 failure(status, "cal1->add"); 189 printdate(cal1, "cal1 after adding 1 day:") ; 191 delete cal1; 747 GregorianCalendar *cal1 = new GregorianCalendar(1997, 10, 11, 10, 20, 40,status); local 800 Calendar *cal1 = new GregorianCalendar(*PST,status); local [all...] |
/dalvik/libcore/sql/src/test/java/tests/sql/ |
ResultSetGetterTests.java | 1526 Calendar cal1 = new GregorianCalendar(); local 1696 Calendar cal1 = new GregorianCalendar(); local [all...] |
/external/icu4c/i18n/unicode/ |
ucal.h | 924 * @param cal1 The first of the UCalendars to compare. 926 * @return TRUE if cal1 and cal2 are equivalent, FALSE otherwise. 930 ucal_equivalentTo(const UCalendar* cal1, [all...] |
/external/icu4c/i18n/ |
ucal.cpp | 371 ucal_equivalentTo( const UCalendar* cal1, 375 return ((Calendar*)cal1)->isEquivalentTo(*((Calendar*)cal2));
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 213 Calendar cal1 = format.getCalendar(); local 215 assertTrue("Calendars not identical", cal1 == cal2); [all...] |