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.java139 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() argument
141 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, in findDaylightBoundaryUsingTimeZone()
145 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() argument
156 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
159 d + ") != " + startsInDST); in findDaylightBoundaryUsingTimeZone()
160 startsInDST = !startsInDST; // Flip over; find the apparent value in findDaylightBoundaryUsingTimeZone()
163 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
166 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone()
174 if (isIn == startsInDST) in findDaylightBoundaryUsingTimeZone()
662 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
[all …]
DTimeZoneTest.java647 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
649 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
650 logln("Error: inDaylightTime(" + new Date(max) + ") != " + (!startsInDST)); in _testUsingBinarySearch()
656 if (tz.inDaylightTime(new Date(mid)) == startsInDST) { in _testUsingBinarySearch()
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp106 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone() argument
109 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, zone); in findDaylightBoundaryUsingTimeZone()
116 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone() argument
122 if (tz->inDaylightTime(d, status) != startsInDST) { in findDaylightBoundaryUsingTimeZone()
123 …" + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDST ? "true" : "fal… in findDaylightBoundaryUsingTimeZone()
124 startsInDST = !startsInDST; in findDaylightBoundaryUsingTimeZone()
127 if (tz->inDaylightTime(max, status) == startsInDST) { in findDaylightBoundaryUsingTimeZone()
128 …+ tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsInDST ? "false" : "tr… in findDaylightBoundaryUsingTimeZone()
136 if (isIn == startsInDST) { in findDaylightBoundaryUsingTimeZone()
387 UBool startsInDST = tz->inDaylightTime(d, status); in testUsingBinarySearch() local
[all …]
Dtzbdtest.h41 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary);
42 …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.cpp239 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() local
241 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition()
242 … " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"TRUE":"FALSE")… in findTransition()
243 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition()
249 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition()
270 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch() local
272 if (tz.inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch()
273 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch()
279 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()
658 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()