Home
last modified time | relevance | path

Searched refs:startsInDST (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java136 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument
138 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone()
142 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() argument
153 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
156 d + ") != " + startsInDST); in findDaylightBoundaryUsingTimeZone()
157 startsInDST = !startsInDST; // Flip over; find the apparent value in findDaylightBoundaryUsingTimeZone()
160 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
163 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone()
171 if (isIn == startsInDST) in findDaylightBoundaryUsingTimeZone()
660 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
[all …]
DTimeZoneTest.java650 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
652 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
653 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch()
659 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp108 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 …]
Dtzbdtest.h43 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary);
44 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary,…
Dtzregts.cpp89 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionBinary() local
91 if (tz.inDaylightTime(max, status) == startsInDST) { in findTransitionBinary()
92 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); in findTransitionBinary()
98 if (tz.inDaylightTime(mid, status) == startsInDST) { in findTransitionBinary()
110 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionStepwise() local
113 if (tz.inDaylightTime(min, status) != startsInDST) { in findTransitionStepwise()
Dtztest.cpp241 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() local
243 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition()
244 … " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE")… in findTransition()
245 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition()
251 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition()
272 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch() local
274 if (tz.inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch()
275 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch()
281 if (tz.inDaylightTime(mid, status) == startsInDST) { in testUsingBinarySearch()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java135 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument
137 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone()
141 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() argument
152 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
155 d + ") != " + startsInDST); in findDaylightBoundaryUsingTimeZone()
156 startsInDST = !startsInDST; // Flip over; find the apparent value in findDaylightBoundaryUsingTimeZone()
159 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
162 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone()
170 if (isIn == startsInDST) in findDaylightBoundaryUsingTimeZone()
659 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
[all …]
DTimeZoneTest.java649 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
651 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
652 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch()
658 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()