Home
last modified time | relevance | path

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

1234

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java156 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone()
163 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone()
173 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone()
253 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST()
254 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
256 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST()
662 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
664 if (tz.inDaylightTime(new Date(max)) == startsInDST) in _testUsingBinarySearch()
672 if (tz.inDaylightTime(new Date(mid)) == startsInDST) in _testUsingBinarySearch()
813 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise()
[all …]
DTimeZoneRegression.java80 if (z.inDaylightTime(d1)) { in Test4073215()
86 if (!z.inDaylightTime(d2)) { in Test4073215()
92 if (z.inDaylightTime(d3)) { in Test4073215()
260 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
267 if (inDaylightTime) in checkCalendar314()
318 if (!tz.inDaylightTime(dt)) in Test4126678()
652 z.inDaylightTime(null); in Test4159922()
1035 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1058 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1059 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134()
DTimeZoneTest.java388 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName()
477 if (tz.inDaylightTime(now)) { in TestDisplayName2()
627 if (zone.inDaylightTime(new Date(marchOne - 1000)) || in TestRuleAPI()
628 !zone.inDaylightTime(new Date(marchOne))) in TestRuleAPI()
630 if (!zone.inDaylightTime(new Date(julyOne - 1000)) || in TestRuleAPI()
631 zone.inDaylightTime(new Date(julyOne))) in TestRuleAPI()
635 if (zone.inDaylightTime(new Date(marchOne)) || in TestRuleAPI()
636 zone.inDaylightTime(new Date(julyOne - 1000))) in TestRuleAPI()
647 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
649 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
[all …]
/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()
658 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch()
660 if (tz.inDaylightTime(new Date(max)) == startsInDST) in _testUsingBinarySearch()
668 if (tz.inDaylightTime(new Date(mid)) == startsInDST) in _testUsingBinarySearch()
809 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise()
[all …]
DTimeZoneRegression.java76 if (z.inDaylightTime(d1)) { in Test4073215()
82 if (!z.inDaylightTime(d2)) { in Test4073215()
88 if (z.inDaylightTime(d3)) { in Test4073215()
256 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
263 if (inDaylightTime) in checkCalendar314()
314 if (!tz.inDaylightTime(dt)) in Test4126678()
648 z.inDaylightTime(null); in Test4159922()
1031 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134()
1054 isDst = icuEastern.inDaylightTime(d); in TestJ5134()
1055 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134()
DTimeZoneTest.java384 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName()
473 if (tz.inDaylightTime(now)) { in TestDisplayName2()
623 if (zone.inDaylightTime(new Date(marchOne - 1000)) || in TestRuleAPI()
624 !zone.inDaylightTime(new Date(marchOne))) in TestRuleAPI()
626 if (!zone.inDaylightTime(new Date(julyOne - 1000)) || in TestRuleAPI()
627 zone.inDaylightTime(new Date(julyOne))) in TestRuleAPI()
631 if (zone.inDaylightTime(new Date(marchOne)) || in TestRuleAPI()
632 zone.inDaylightTime(new Date(julyOne - 1000))) in TestRuleAPI()
643 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch()
645 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp122 if (tz->inDaylightTime(d, status) != startsInDST) { in findDaylightBoundaryUsingTimeZone()
127 if (tz->inDaylightTime(max, status) == startsInDST) { in findDaylightBoundaryUsingTimeZone()
134 UBool isIn = tz->inDaylightTime(mid, status); in findDaylightBoundaryUsingTimeZone()
194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) in verifyDST()
195 …logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"fal… in verifyDST()
197 …dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":… in verifyDST()
387 UBool startsInDST = tz->inDaylightTime(d, status); in testUsingBinarySearch()
389 if (tz->inDaylightTime(max, status) == startsInDST) { in testUsingBinarySearch()
395 if (tz->inDaylightTime(mid, status) == startsInDST) { in testUsingBinarySearch()
456 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.cpp217 if (zone->inDaylightTime(marchOne - 1000, status) || in TestRuleAPI()
218 !zone->inDaylightTime(marchOne, status)) in TestRuleAPI()
220 if (!zone->inDaylightTime(julyOne - 1000, status) || in TestRuleAPI()
221 zone->inDaylightTime(julyOne, status)) in TestRuleAPI()
225 if (zone->inDaylightTime(marchOne, status) || in TestRuleAPI()
226 zone->inDaylightTime(julyOne - 1000, status)) in TestRuleAPI()
239 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition()
241 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition()
249 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition()
270 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch()
[all …]
Ddtfmtrtts.cpp411 …else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDayligh… in test()
416 … fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) in test()
426 && (fmt->getTimeZone().inDaylightTime(d[0], status) in test()
427 == fmt->getTimeZone().inDaylightTime(d[dmatch], status) in test()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java94 boolean inDst = tz.inDaylightTime(t); in dump()
98 boolean newInDst = tz.inDaylightTime(newt); in dump()
110 boolean medInDst = tz.inDaylightTime(medt); in dump()
117 w.write(formatter.format(lot, offset, tz.inDaylightTime(lot))); in dump()
119 w.write(formatter.format(hit, newOffset, tz.inDaylightTime(hit))); in dump()
154 public boolean inDaylightTime(long time) { in inDaylightTime() method in ICUZDump.TimeZoneImpl
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneAdapter.java113 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter
114 return zone.inDaylightTime(date); in inDaylightTime()
DJavaTimeZone.java169 public boolean inDaylightTime(Date date) { in inDaylightTime() method in JavaTimeZone
170 return javatz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneAdapter.java112 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter
113 return zone.inDaylightTime(date); in inDaylightTime()
DJavaTimeZone.java167 public boolean inDaylightTime(Date date) { in inDaylightTime() method in JavaTimeZone
168 return javatz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java87 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneICU
88 return fIcuTz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java528 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZone
529 return timeZone.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java163 assertFalse(tz.inDaylightTime(date)); in testInDaylightTime()
166 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.java170 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneJDK
171 return fJdkTz.inDaylightTime(date); in inDaylightTime()
/external/icu/icu4c/source/i18n/
Dcecal.h86 virtual UBool inDaylightTime(UErrorCode&) const;
Dindiancal.h300 virtual UBool inDaylightTime(UErrorCode& status) const;
Dpersncal.h293 virtual UBool inDaylightTime(UErrorCode& status) const;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRoundTripTest.java229 (fmt.getTimeZone().inDaylightTime(d[0]) in _test()
230 || fmt.getTimeZone().inDaylightTime(d[1]) in _test()
/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()

1234