/third_party/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 76 …BoundaryTest::findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedBoundary) in findDaylightBoundaryUsingDate() argument 96 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 97 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingDate() 101 … maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary); in findDaylightBoundaryUsingDate() 102 else dataerrln(UnicodeString("FAIL: Expected boundary at ") + expectedBoundary); in findDaylightBoundaryUsingDate() 108 …BoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 111 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, zone); in findDaylightBoundaryUsingTimeZone() 118 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz) in findDaylightBoundaryUsingTimeZone() argument 147 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 148 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingTimeZone() [all …]
|
D | tzbdtest.h | 42 …virtual void findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedBoundary); 43 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary); 44 …findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary, TimeZone* tz… 67 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary);
|
D | tztest.h | 61 UDate expectedBoundary);
|
D | tztest.cpp | 273 UDate expectedBoundary) in testUsingBinarySearch() argument 294 UDate mindelta = expectedBoundary - min; in testUsingBinarySearch() 295 UDate maxdelta = max - expectedBoundary; in testUsingBinarySearch() 300 …logln(UnicodeString("PASS: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBo… in testUsingBinarySearch() 302 …errln(UnicodeString("FAIL: Expected bdry: ") + expectedBoundary + " = " + dateToString(expectedBo… in testUsingBinarySearch()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 60 void findDaylightBoundaryUsingDate(Date d, String startMode, long expectedBoundary) in findDaylightBoundaryUsingDate() argument 92 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 96 logln("PASS: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 98 errln("FAIL: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 138 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 140 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 145 long expectedBoundary, TimeZone tz) in findDaylightBoundaryUsingTimeZone() argument 186 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 192 …logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() 194 …errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() [all …]
|
D | TimeZoneTest.java | 638 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 660 long mindelta = expectedBoundary - min; in _testUsingBinarySearch() 666 logln("PASS: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch() 668 errln("FAIL: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 63 void findDaylightBoundaryUsingDate(Date d, String startMode, long expectedBoundary) in findDaylightBoundaryUsingDate() argument 95 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 99 logln("PASS: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 101 errln("FAIL: Expected boundary at " + expectedBoundary); in findDaylightBoundaryUsingDate() 141 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 143 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 148 long expectedBoundary, TimeZone tz) in findDaylightBoundaryUsingTimeZone() argument 189 long mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone() 195 …logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() 197 …errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() [all …]
|
D | TimeZoneTest.java | 642 void _testUsingBinarySearch(SimpleTimeZone tz, long min, long max, long expectedBoundary) in _testUsingBinarySearch() argument 664 long mindelta = expectedBoundary - min; in _testUsingBinarySearch() 670 logln("PASS: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch() 672 errln("FAIL: Expected bdry: " + expectedBoundary + " = " + new Date(expectedBoundary)); in _testUsingBinarySearch()
|