Lines Matching refs:PATTERNS

26 static const char* PATTERNS[] = {  variable
50 static const int NUM_PATTERNS = sizeof(PATTERNS)/sizeof(const char*);
166 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
169PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip()
220 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip()
233 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
238 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
243 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip()
247 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
251 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip()
267 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
272 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
284 UBool isOffsetFormat = (*PATTERNS[patidx] == 'Z' in TestTimeZoneRoundTrip()
285 || *PATTERNS[patidx] == 'O' in TestTimeZoneRoundTrip()
286 || *PATTERNS[patidx] == 'X' in TestTimeZoneRoundTrip()
287 || *PATTERNS[patidx] == 'x'); in TestTimeZoneRoundTrip()
289 if (*PATTERNS[patidx] == 'X' || *PATTERNS[patidx] == 'x') { in TestTimeZoneRoundTrip()
290 minutesOffset = (uprv_strlen(PATTERNS[patidx]) <= 3); in TestTimeZoneRoundTrip()
313 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
321 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
455 log.logln((UnicodeString) " Pattern: " + PATTERNS[patidx]); in run()
459 pattern.append(" ").append(PATTERNS[patidx]); in run()
469 UBool minutesOffset = contains(MINUTES_OFFSET, PATTERNS[patidx]); in run()
477 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in run()
485 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) { in run()
495 if (*tzid == "Pacific/Apia" && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in run()
523 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) : in run()
524 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]); in run()
527 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) : in run()
528 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]); in run()
557 … + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]); in run()
566 … + "tzid=" + *tzid + ", locale=" + data.locales[locidx].getName() + ", pattern=" + PATTERNS[patidx] in run()
571 PATTERNS[patidx], testTimes[testidx])) { in run()
705 logln(UnicodeString("") + data.times[i] + "ms (" + PATTERNS[i] + ")"); in TestTimeRoundTrip()