Home | History | Annotate | Download | only in intltest

Lines Matching refs:DateTimePatternGenerator

39  * Test various generic API methods of DateTimePatternGenerator for API coverage.
291 logln("Testing DateTimePatternGenerator createInstance from default locale");
293 DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status);
295 dataerrln("ERROR: Could not create DateTimePatternGenerator (default) - exitting");
303 logln("Testing DateTimePatternGenerator createInstance from French locale");
305 DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrench(), status);
307 dataerrln("ERROR: Could not create DateTimePatternGenerator (Locale::getFrench()) - exitting");
311 // ======= Test clone DateTimePatternGenerator
312 logln("Testing DateTimePatternGenerator::clone()");
320 DateTimePatternGenerator *cloneDTPatternGen=instFromLocale->clone();
341 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status);
343 dataerrln("ERROR: Could not create DateTimePatternGenerator (Locale::getGermany()) - exitting");
475 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status);
477 dataerrln("ERROR: Could not create DateTimePatternGenerator");
500 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status);
502 dataerrln("ERROR: Could not create DateTimePatternGenerator");
526 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status);
528 dataerrln("ERROR: Could not create DateTimePatternGenerator");
544 logln("Testing DateTimePatternGenerator with various skeleton");
558 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status);
560 dataerrln("ERROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex);
583 logln("Testing DateTimePatternGenerator with various skeleton");
593 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), status);
595 dataerrln("ERROR: Could not create DateTimePatternGenerator with locale English . - exitting\n");
630 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status);
632 dataerrln("ERROR: Could not create DateTimePatternGenerator (Locale::getFrench()) - exitting");
654 DateTimePatternGenerator *test= DateTimePatternGenerator::createInstance(status);
656 if(test->getDynamicClassID() != DateTimePatternGenerator::getStaticClassID()) {
666 test = DateTimePatternGenerator::createEmptyInstance(status);
718 // ========= DateTimePatternGenerator sample code in Userguide
722 DateTimePatternGenerator *generator = DateTimePatternGenerator::createInstance( locale, status);
806 DateTimePatternGenerator * dtpgen = DateTimePatternGenerator::createInstance(locale, status);
808 dataerrln("Unable to create DateTimePatternGenerator instance for locale(%s): %s", locale.getName(), u_errorName(status));