Home | History | Annotate | Download | only in intltest

Lines Matching refs:SimpleDateFormat

25         case 0: name = "SimpleDateFormat API test"; 
27 logln("SimpleDateFormat API test---"); logln("");
44 * Test various generic API methods of SimpleDateFormat for API coverage.
52 logln("Testing SimpleDateFormat constructors");
54 SimpleDateFormat def(status);
56 dataerrln("ERROR: Could not create SimpleDateFormat (default) - exitting");
65 SimpleDateFormat pat(pattern, status);
67 errln("ERROR: Could not create SimpleDateFormat (pattern)");
71 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status);
73 errln("ERROR: Could not create SimpleDateFormat (pattern French)");
83 SimpleDateFormat cust1(pattern, symbols, status);
85 dataerrln("ERROR: Could not create SimpleDateFormat (pattern, symbols*) - exitting");
90 SimpleDateFormat cust2(pattern, *symbols, status);
92 errln("ERROR: Could not create SimpleDateFormat (pattern, symbols)");
96 SimpleDateFormat ovr1(pattern, override, status);
98 errln("ERROR: Could not create SimpleDateFormat (pattern, override)");
102 SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status);
104 errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale)");
108 SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status);
110 errln("ERROR: Should not have been able to create SimpleDateFormat (pattern, override, locale) with a bogus override");
114 SimpleDateFormat copy(pat);
248 DateFormat *test = new SimpleDateFormat(status);
250 errln("ERROR: Couldn't create a SimpleDateFormat");
253 if(test->getDynamicClassID() != SimpleDateFormat::getStaticClassID()) {
260 SimpleDateFormat object(UNICODE_STRING_SIMPLE("YYYY'W'wwe"), status);
262 errln("ERROR: Couldn't create a SimpleDateFormat");