Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java138 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 …]
DTimeZoneTest.java640 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
642 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
643 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch()
649 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.cpp91 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()
Dtztest.cpp244 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() local
246 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition()
247 … " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE")… in findTransition()
248 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition()
254 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition()
275 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch() local
277 if (tz.inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch()
278 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch()
284 if (tz.inDaylightTime(mid, status) == startsInDST) { in testUsingBinarySearch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java141 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 …]
DTimeZoneTest.java643 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
645 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
646 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch()
652 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()