Home
last modified time | relevance | path

Searched refs:inDaylightTime (Results 1 – 25 of 98) sorted by relevance

1234

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java152 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
159 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
169 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone()
249 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST()
250 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
252 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
659 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
661 if (tz.inDaylightTime(new Date(max)) == startsInDST) in _testUsingBinarySearch()
669 if (tz.inDaylightTime(new Date(mid)) == startsInDST) in _testUsingBinarySearch()
811 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise()
[all …]
DTimeZoneRegressionTest.java78 if (z.inDaylightTime(d1)) { in Test4073215()
84 if (!z.inDaylightTime(d2)) { in Test4073215()
90 if (z.inDaylightTime(d3)) { in Test4073215()
261 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
268 if (inDaylightTime) in checkCalendar314()
320 if (!tz.inDaylightTime(dt)) in Test4126678()
661 z.inDaylightTime(null); in Test4159922()
1051 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1074 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1075 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134()
DTimeZoneTest.java387 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName()
477 if (tz.inDaylightTime(now)) { in TestDisplayName2()
629 if (zone.inDaylightTime(new Date(marchOne - 1000)) || in TestRuleAPI()
630 !zone.inDaylightTime(new Date(marchOne))) in TestRuleAPI()
632 if (!zone.inDaylightTime(new Date(julyOne - 1000)) || in TestRuleAPI()
633 zone.inDaylightTime(new Date(julyOne))) in TestRuleAPI()
637 if (zone.inDaylightTime(new Date(marchOne)) || in TestRuleAPI()
638 zone.inDaylightTime(new Date(julyOne - 1000))) in TestRuleAPI()
649 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
651 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java153 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
160 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
170 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone()
250 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST()
251 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
253 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
660 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
662 if (tz.inDaylightTime(new Date(max)) == startsInDST) in _testUsingBinarySearch()
670 if (tz.inDaylightTime(new Date(mid)) == startsInDST) in _testUsingBinarySearch()
812 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise()
[all …]
DTimeZoneRegressionTest.java79 if (z.inDaylightTime(d1)) { in Test4073215()
85 if (!z.inDaylightTime(d2)) { in Test4073215()
91 if (z.inDaylightTime(d3)) { in Test4073215()
262 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
269 if (inDaylightTime) in checkCalendar314()
321 if (!tz.inDaylightTime(dt)) in Test4126678()
662 z.inDaylightTime(null); in Test4159922()
1052 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1075 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1076 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134()
DTimeZoneTest.java388 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName()
478 if (tz.inDaylightTime(now)) { in TestDisplayName2()
630 if (zone.inDaylightTime(new Date(marchOne - 1000)) || in TestRuleAPI()
631 !zone.inDaylightTime(new Date(marchOne))) in TestRuleAPI()
633 if (!zone.inDaylightTime(new Date(julyOne - 1000)) || in TestRuleAPI()
634 zone.inDaylightTime(new Date(julyOne))) in TestRuleAPI()
638 if (zone.inDaylightTime(new Date(marchOne)) || in TestRuleAPI()
639 zone.inDaylightTime(new Date(julyOne - 1000))) in TestRuleAPI()
650 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
652 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp124 if (tz->inDaylightTime(d, status) != startsInDST) { in findDaylightBoundaryUsingTimeZone()
129 if (tz->inDaylightTime(max, status) == startsInDST) { in findDaylightBoundaryUsingTimeZone()
136 UBool isIn = tz->inDaylightTime(mid, status); in findDaylightBoundaryUsingTimeZone()
196 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) in verifyDST()
197 …logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"fal… in verifyDST()
199 …dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":… in verifyDST()
389 UBool startsInDST = tz->inDaylightTime(d, status); in testUsingBinarySearch()
391 if (tz->inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch()
397 if (tz->inDaylightTime(mid, status) == startsInDST) { in testUsingBinarySearch()
458 UBool lastState = z->inDaylightTime(d, status); in findBoundariesStepwise()
[all …]
Dtzregts.cpp89 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionBinary()
91 if (tz.inDaylightTime(max, status) == startsInDST) { in findTransitionBinary()
98 if (tz.inDaylightTime(mid, status) == startsInDST) { in findTransitionBinary()
110 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionStepwise()
113 if (tz.inDaylightTime(min, status) != startsInDST) { in findTransitionStepwise()
158 UBool indt = z->inDaylightTime(jan31=cal.getTime(status), status); in Test4073215()
164 indt = z->inDaylightTime(mar1=cal.getTime(status), status); in Test4073215()
173 indt = z->inDaylightTime(mar31=cal.getTime(status), status); in Test4073215()
397 UBool inDaylightTime = testTZ->inDaylightTime(testDate, status); in checkCalendar314() local
404 if(inDaylightTime) in checkCalendar314()
Dtztest.cpp219 if (zone->inDaylightTime(marchOne - 1000, status) || in TestRuleAPI()
220 !zone->inDaylightTime(marchOne, status)) in TestRuleAPI()
222 if (!zone->inDaylightTime(julyOne - 1000, status) || in TestRuleAPI()
223 zone->inDaylightTime(julyOne, status)) in TestRuleAPI()
227 if (zone->inDaylightTime(marchOne, status) || in TestRuleAPI()
228 zone->inDaylightTime(julyOne - 1000, status)) in TestRuleAPI()
241 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition()
243 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition()
251 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition()
272 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch()
[all …]
Ddtfmtrtts.cpp413 …else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDayligh… in test()
418 … fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) in test()
428 && (fmt->getTimeZone().inDaylightTime(d[0], status) in test()
429 == fmt->getTimeZone().inDaylightTime(d[dmatch], status) in test()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java96 boolean inDst = tz.inDaylightTime(t); in dump()
100 boolean newInDst = tz.inDaylightTime(newt); in dump()
112 boolean medInDst = tz.inDaylightTime(medt); in dump()
119 w.write(formatter.format(lot, offset, tz.inDaylightTime(lot))); in dump()
121 w.write(formatter.format(hit, newOffset, tz.inDaylightTime(hit))); in dump()
156 public boolean inDaylightTime(long time) { in inDaylightTime() method in ICUZDump.TimeZoneImpl
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneAdapter.java121 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter
122 return zone.inDaylightTime(date); in inDaylightTime()
DJavaTimeZone.java173 public boolean inDaylightTime(Date date) { in inDaylightTime() method in JavaTimeZone
174 return javatz.inDaylightTime(date); in inDaylightTime()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneAdapter.java122 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter
123 return zone.inDaylightTime(date); in inDaylightTime()
DJavaTimeZone.java175 public boolean inDaylightTime(Date date) { in inDaylightTime() method in JavaTimeZone
176 return javatz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java89 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneICU
90 return fIcuTz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java530 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZone
531 return timeZone.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java165 assertFalse(tz.inDaylightTime(date)); in testInDaylightTime()
168 assertTrue(tz.inDaylightTime(date)); in testInDaylightTime()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_TimeZone.java50 public boolean inDaylightTime(java.util.Date p1) { in inDaylightTime() method in Support_TimeZone
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java172 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneJDK
173 return fJdkTz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4c/source/i18n/
Dcecal.h88 virtual UBool inDaylightTime(UErrorCode&) const;
Dindiancal.h302 virtual UBool inDaylightTime(UErrorCode& status) const;
Dpersncal.h295 virtual UBool inDaylightTime(UErrorCode& status) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRoundTripTest.java233 (fmt.getTimeZone().inDaylightTime(d[0]) in _test()
234 || fmt.getTimeZone().inDaylightTime(d[1]) in _test()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRoundTripTest.java232 (fmt.getTimeZone().inDaylightTime(d[0]) in _test()
233 || fmt.getTimeZone().inDaylightTime(d[1]) in _test()

1234