Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp642 for (int32_t testidx = 0; testidx < testLen; testidx++) { in RunTimeRoundTripTests() local
645 if (!expectedRoundTrip[testidx]) { in RunTimeRoundTripTests()
657 sdf->format(testTimes[testidx], text, fpos); in RunTimeRoundTripTests()
662 + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]); in RunTimeRoundTripTests()
667 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in RunTimeRoundTripTests()
673 …t=" + text + ", time=" + testTimes[testidx] + ", restime=" + parsedDate + ", diff=" + (parsedDate … in RunTimeRoundTripTests()
675 if (expectedRoundTrip[testidx] in RunTimeRoundTripTests()
677 PATTERNS[patidx], testTimes[testidx])) { in RunTimeRoundTripTests()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java459 for (int testidx = 0; testidx < testLen; testidx++) { in TestTimeRoundTrip()
462 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip()
466 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip()
476 … .append(", gmt=").append(sdfGMT.format(new Date(testTimes[testidx]))) in TestTimeRoundTrip()
477 .append(", time=").append(testTimes[testidx]) in TestTimeRoundTrip()
480 if (expectedRoundTrip[testidx] in TestTimeRoundTrip()
481 … && !isSpecialTimeRoundTripCase(LOCALES[locidx], id, PATTERNS[patidx], testTimes[testidx])) { in TestTimeRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java460 for (int testidx = 0; testidx < testLen; testidx++) { in TestTimeRoundTrip()
463 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip()
467 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip()
477 … .append(", gmt=").append(sdfGMT.format(new Date(testTimes[testidx]))) in TestTimeRoundTrip()
478 .append(", time=").append(testTimes[testidx]) in TestTimeRoundTrip()
481 if (expectedRoundTrip[testidx] in TestTimeRoundTrip()
482 … && !isSpecialTimeRoundTripCase(LOCALES[locidx], id, PATTERNS[patidx], testTimes[testidx])) { in TestTimeRoundTrip()