Home | History | Annotate | Download | only in intltest

Lines Matching refs:GregorianCalendar

450     GregorianCalendar *gc = new GregorianCalendar(*zone, status);
451 if (failure(status, "new GregorianCalendar")) return;
454 gc = new GregorianCalendar(Locale::getEnglish(), status);
455 if (failure(status, "new GregorianCalendar")) return;
458 gc = new GregorianCalendar(Locale::getEnglish(), status);
461 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status);
462 if (failure(status, "new GregorianCalendar")) return;
465 gc = new GregorianCalendar(zone, status);
466 if (failure(status, "new GregorianCalendar")) return;
469 gc = new GregorianCalendar(1998, 10, 14, 21, 43, status);
471 errln("FAIL: new GregorianCalendar(ymdhm) failed with " + UnicodeString(u_errorName(status)) + ", cal=" + gc->getTime(status) + UnicodeString(calToStr(*gc)) + ", d=" + d);
476 gc = new GregorianCalendar(1998, 10, 14, 21, 43, 55, status);
478 errln("FAIL: new GregorianCalendar(ymdhms) failed with " + UnicodeString(u_errorName(status)));
480 GregorianCalendar
481 if (failure(status, "new GregorianCalendar")) return;
483 if (gc2 != *gc || !(gc2 == *gc)) errln("FAIL: GregorianCalendar assignment/operator==/operator!= failed");
527 GregorianCalendar* gc = new GregorianCalendar(status);
528 if (failure(status, "new GregorianCalendar", TRUE)) return;
561 GregorianCalendar* cal = new GregorianCalendar(status);
562 if (failure(status, "new GregorianCalendar", TRUE)) return;
618 GregorianCalendar* c = new GregorianCalendar(status);
619 if (failure(status, "new GregorianCalendar", TRUE)) return;
626 if (U_FAILURE(status)) { errln("GregorianCalendar::setGregorianChange failed"); return; }
909 GregorianCalendar *temp = new GregorianCalendar(y, m, d, status);
910 if (failure(status, "new GregorianCalendar", TRUE)) return;
938 * Execute adding and rolling in GregorianCalendar extensively,
946 GregorianCalendar *temp = new GregorianCalendar(y, m, d, status);
947 if (failure(status, "new GregorianCalendar", TRUE)) return;
957 logln("Testing GregorianCalendar add...");
969 if (U_FAILURE(status)) { errln("GregorianCalendar::add -1 failed"); return; }
976 logln("Testing GregorianCalendar roll...");
995 if (U_FAILURE(status)) { errln(UnicodeString("GregorianCalendar::roll ") + CalendarTest::fieldName(e) + " count=" + UnicodeString('@'+i) + " by -1 failed with " + u_errorName(status) ); return; }
1070 * of GregorianCalendar don't share a static instance of the fields array.
1077 GregorianCalendar *g = new GregorianCalendar(status);
1078 if (failure(status, "new GregorianCalendar", TRUE)) return;
1079 GregorianCalendar *g2 = new GregorianCalendar(status);
1080 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; }
1150 Calendar *cal = new GregorianCalendar(status);
1151 if (failure(status, "new GregorianCalendar", TRUE)) return;
1181 Calendar *calendar = new GregorianCalendar(status);
1182 if (failure(status, "new GregorianCalendar", TRUE)) return;
1194 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status);
1195 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; }
1206 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status);
1207 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; }
1246 GregorianCalendar *calendar = 0;
1247 calendar = new GregorianCalendar(year, month, dDate, status);
1248 if (failure(status, "new GregorianCalendar", TRUE)) return;
1287 GregorianCalendar *gc = new GregorianCalendar(status);
1288 if (U_FAILURE(status)) { errln("Couldn't create GregorianCalendar"); return; }
1293 if (U_FAILURE(status)) { errln("GregorianCalendar::inDaylightTime failed"); return; }
1339 Calendar *cal = new GregorianCalendar(1972, UCAL_OCTOBER, 26, status);
1340 if (failure(status, "new GregorianCalendar", TRUE)) return;
1519 Calendar *tstres = new GregorianCalendar(Locale::getGermany(), errorCode);
1647 GregorianCalendar cal(status);
1873 GregorianCalendar cal(status);
1874 if (failure(status, "construct GregorianCalendar", TRUE)) return;
1931 GregorianCalendar cal(status);
1932 if (failure(status, "construct GregorianCalendar", TRUE)) return;
2037 isGregorian = dynamic_cast<GregorianCalendar*>(adopt) != NULL;