Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp650 for (int32_t testidx = 0; testidx < testLen; testidx++) { in RunTimeRoundTripTests() local
653 if (!expectedRoundTrip[testidx]) { in RunTimeRoundTripTests()
665 sdf->format(testTimes[testidx], text, fpos); in RunTimeRoundTripTests()
670 + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]); in RunTimeRoundTripTests()
675 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in RunTimeRoundTripTests()
681 …t=" + text + ", time=" + testTimes[testidx] + ", restime=" + parsedDate + ", diff=" + (parsedDate … in RunTimeRoundTripTests()
683 if (expectedRoundTrip[testidx] in RunTimeRoundTripTests()
685 PATTERNS[patidx], testTimes[testidx])) { in RunTimeRoundTripTests()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java467 for (int testidx = 0; testidx < testLen; testidx++) { in TestTimeRoundTrip()
470 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip()
474 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip()
484 … .append(", gmt=").append(sdfGMT.format(new Date(testTimes[testidx]))) in TestTimeRoundTrip()
485 .append(", time=").append(testTimes[testidx]) in TestTimeRoundTrip()
488 if (expectedRoundTrip[testidx] in TestTimeRoundTrip()
489 … && !isSpecialTimeRoundTripCase(LOCALES[locidx], id, PATTERNS[patidx], testTimes[testidx])) { in TestTimeRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java470 for (int testidx = 0; testidx < testLen; testidx++) { in TestTimeRoundTrip()
473 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip()
477 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip()
487 … .append(", gmt=").append(sdfGMT.format(new Date(testTimes[testidx]))) in TestTimeRoundTrip()
488 .append(", time=").append(testTimes[testidx]) in TestTimeRoundTrip()
491 if (expectedRoundTrip[testidx] in TestTimeRoundTrip()
492 … && !isSpecialTimeRoundTripCase(LOCALES[locidx], id, PATTERNS[patidx], testTimes[testidx])) { in TestTimeRoundTrip()