+ status = U_ZERO_ERROR;
+ logln(UnicodeString("Override with: ") + override);
+ SimpleDateFormat ovr1(pattern, override, status);
+ if(U_FAILURE(status)) {
+ errln("ERROR: Could not create SimpleDateFormat (pattern, override) - %s", u_errorName(status));
+ }
+
+ status = U_ZERO_ERROR;
+ SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status);
+ if(U_FAILURE(status)) {
+ errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale) - %s", u_errorName(status));
+ }
+
+ status = U_ZERO_ERROR;
+ logln(UnicodeString("Override with: ") + override_bogus);
+ SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status);
+ if(U_SUCCESS(status)) {
+ errln("ERROR: Should not have been able to create SimpleDateFormat (pattern, override, locale) with a bogus override");
+ }
+
+