Home
last modified time | relevance | path

Searched refs:dateMatch (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDateFormat.java159 int dateMatch = 0; in tryDate() local
180 if (dateMatch == 0 && date[i] == date[i-1]) dateMatch = i; in tryDate()
181 else if (dateMatch > 0 && date[i] != date[i-1]) { in tryDate()
195 if (dateMatch > 0 && stringMatch > 0) break; in tryDate()
199 if (stringMatch > fLimit || dateMatch > fLimit) { in tryDate()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormat.java156 int dateMatch = 0; in tryDate() local
177 if (dateMatch == 0 && date[i] == date[i-1]) dateMatch = i; in tryDate()
178 else if (dateMatch > 0 && date[i] != date[i-1]) { in tryDate()
192 if (dateMatch > 0 && stringMatch > 0) break; in tryDate()
196 if (stringMatch > fLimit || dateMatch > fLimit) { in tryDate()
/third_party/icu/icu4c/source/test/intltest/
Dtsdate.cpp154 int32_t dateMatch = 0; in tryDate() local
185 if (dateMatch == 0 && date[i] == date[i-1]) in tryDate()
186 dateMatch = i; in tryDate()
187 else if (dateMatch > 0 && date[i] != date[i-1]) in tryDate()
205 if (dateMatch > 0 && stringMatch > 0) in tryDate()
211 if (stringMatch > fLimit || dateMatch > fLimit) in tryDate()