/third_party/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 108 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone() argument 111 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, zone); in findDaylightBoundaryUsingTimeZone() 118 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone() argument 124 if (tz->inDaylightTime(d, status) != startsInDST) { in findDaylightBoundaryUsingTimeZone() 125 …" + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "fal… in findDaylightBoundaryUsingTimeZone() 126 startsInDST = !startsInDST; in findDaylightBoundaryUsingTimeZone() 129 if (tz->inDaylightTime(max, status) == startsInDST) { in findDaylightBoundaryUsingTimeZone() 130 …+ tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "tr… in findDaylightBoundaryUsingTimeZone() 138 if (isIn == startsInDST) { in findDaylightBoundaryUsingTimeZone() 389 UBool startsInDST = tz->inDaylightTime(d, status); in testUsingBinarySearch() local [all …]
|
D | tzbdtest.h | 43 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary); 44 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary,…
|
D | tzregts.cpp | 91 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionBinary() local 93 if (tz.inDaylightTime(max, status) == startsInDST) { in findTransitionBinary() 94 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); in findTransitionBinary() 100 if (tz.inDaylightTime(mid, status) == startsInDST) { in findTransitionBinary() 112 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionStepwise() local 115 if (tz.inDaylightTime(min, status) != startsInDST) { in findTransitionStepwise()
|
D | tztest.cpp | 245 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() local 247 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition() 248 … " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE")… in findTransition() 249 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition() 255 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition() 276 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch() local 278 if (tz.inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch() 279 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch() 285 if (tz.inDaylightTime(mid, status) == startsInDST) { in testUsingBinarySearch()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 138 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 140 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 144 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() argument 155 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone() 158 d + ") != " + startsInDST); in findDaylightBoundaryUsingTimeZone() 159 startsInDST = !startsInDST; // Flip over; find the apparent value in findDaylightBoundaryUsingTimeZone() 162 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 165 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone() 173 if (isIn == startsInDST) in findDaylightBoundaryUsingTimeZone() 662 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch() [all …]
|
D | TimeZoneTest.java | 641 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch() 643 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch() 644 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch() 650 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 141 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument 143 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone() 147 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() argument 158 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone() 161 d + ") != " + startsInDST); in findDaylightBoundaryUsingTimeZone() 162 startsInDST = !startsInDST; // Flip over; find the apparent value in findDaylightBoundaryUsingTimeZone() 165 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 168 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone() 176 if (isIn == startsInDST) in findDaylightBoundaryUsingTimeZone() 665 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch() [all …]
|
D | TimeZoneTest.java | 645 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch() 647 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch() 648 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch() 654 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()
|