/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 74 …BoundaryTest::findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedBoundary) in findDaylightBoundaryUsingDate() argument 94 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 95 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingDate() 99 … maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary); in findDaylightBoundaryUsingDate() 100 else dataerrln(UnicodeString("FAIL: Expected boundary at ") + expectedBoundary); in findDaylightBoundaryUsingDate() 106 …BoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 109 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, zone); in findDaylightBoundaryUsingTimeZone() 116 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() argument 145 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 146 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingTimeZone() [all …]
|
D | tzbdtest.h | 40 …virtual void findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedBoundary); 41 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary); 42 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz… 65 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
|
D | tztest.h | 59 UDate expectedBoundary);
|
D | tztest.cpp | 267 UDate expectedBoundary) in testUsingBinarySearch() argument 288 UDate mindelta = expectedBoundary - min; in testUsingBinarySearch() 289 UDate maxdelta = max - expectedBoundary; in testUsingBinarySearch() 294 …logln(UnicodeString("PASS: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBo… in testUsingBinarySearch() 296 …errln(UnicodeString("FAIL: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBo… in testUsingBinarySearch()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 61 void findDaylightBoundaryUsingDate(Date d, String startMode, long expectedBoundary) in findDaylightBoundaryUsingDate() argument 93 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 97 logln("PASS: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 99 errln("FAIL: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 139 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 141 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 146 long expectedBoundary, TimeZone tz) in findDaylightBoundaryUsingTimeZone() argument 187 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 193 …logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() 195 …errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() [all …]
|
D | TimeZoneTest.java | 644 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 666 long mindelta = expectedBoundary - min; in _testUsingBinarySearch() 672 logln("PASS: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch() 674 errln("FAIL: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 57 void findDaylightBoundaryUsingDate(Date d, String startMode, long expectedBoundary) in findDaylightBoundaryUsingDate() argument 89 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 93 logln("PASS: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 95 errln("FAIL: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 135 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 137 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 142 long expectedBoundary, TimeZone tz) in findDaylightBoundaryUsingTimeZone() argument 183 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 189 …logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() 191 …errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() [all …]
|
D | TimeZoneTest.java | 640 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 662 long mindelta = expectedBoundary - min; in _testUsingBinarySearch() 668 logln("PASS: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch() 670 errln("FAIL: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch()
|