Home | History | Annotate | Download | only in intltest

Lines Matching refs:PATTERNS

26 static const char* PATTERNS[] = {
50 static const int NUM_PATTERNS = sizeof(PATTERNS)/sizeof(const char*);
165 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status);
168 PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status));
219 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) {
232 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
237 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
242 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) {
246 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
250 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0) {
266 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
271 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
283 UBool isOffsetFormat = (*PATTERNS[patidx] == 'Z'
284 || *PATTERNS[patidx] == 'O'
285 || *PATTERNS[patidx] == 'X'
286 || *PATTERNS[patidx] == 'x');
288 if (*PATTERNS[patidx] == 'X' || *PATTERNS[patidx] == 'x') {
289 minutesOffset = (uprv_strlen(PATTERNS[patidx]) <= 3);
312 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
320 + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx]
357 // These patterns are ambiguous at DST->STD local time overlap
360 // These patterns are ambiguous at STD->STD/DST->DST local time overlap
363 // These patterns only support integer minutes offset
420 log.logln((UnicodeString) " Pattern: " + PATTERNS[patidx]);
424 pattern.append(" ").append(PATTERNS[patidx]);
434 UBool minutesOffset = contains(MINUTES_OFFSET, PATTERNS[patidx]);
442 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) {
450 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) {
483 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) :
484 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]);
487 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) :
488 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]);
517 + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]);
526 UnicodeString msg = (UnicodeString) "Time round trip failed for " + "tzid=" + *tzid + ", locale=" + data.locales[locidx].getName() + ", pattern=" + PATTERNS[patidx]
671 logln("### Elapsed time by patterns ###");
673 logln(UnicodeString("") + data.times[i] + "ms (" + PATTERNS[i] + ")");