/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 124 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 …]
|
D | tzregts.cpp | 91 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionBinary() 93 if (tz.inDaylightTime(max, status) == startsInDST) { in findTransitionBinary() 100 if (tz.inDaylightTime(mid, status) == startsInDST) { in findTransitionBinary() 112 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionStepwise() 115 if (tz.inDaylightTime(min, status) != startsInDST) { in findTransitionStepwise() 160 UBool indt = z->inDaylightTime(jan31=cal.getTime(status), status); in Test4073215() 166 indt = z->inDaylightTime(mar1=cal.getTime(status), status); in Test4073215() 175 indt = z->inDaylightTime(mar31=cal.getTime(status), status); in Test4073215() 399 UBool inDaylightTime = testTZ->inDaylightTime(testDate, status); in checkCalendar314() local 406 if(inDaylightTime) in checkCalendar314() [all …]
|
D | tztest.cpp | 222 if (zone->inDaylightTime(marchOne - 1000, status) || in TestRuleAPI() 223 !zone->inDaylightTime(marchOne, status)) in TestRuleAPI() 225 if (!zone->inDaylightTime(julyOne - 1000, status) || in TestRuleAPI() 226 zone->inDaylightTime(julyOne, status)) in TestRuleAPI() 230 if (zone->inDaylightTime(marchOne, status) || in TestRuleAPI() 231 zone->inDaylightTime(julyOne - 1000, status)) in TestRuleAPI() 244 UBool startsInDST = tz.inDaylightTime(min, ec); in findTransition() 246 if (tz.inDaylightTime(max, ec) == startsInDST) { in findTransition() 254 if (tz.inDaylightTime(mid, ec) == startsInDST) { in findTransition() 275 UBool startsInDST = tz.inDaylightTime(min, status); in testUsingBinarySearch() [all …]
|
D | dtfmtrtts.cpp | 413 …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/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 155 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone() 162 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 172 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone() 252 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 253 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 255 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() 814 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise() [all …]
|
D | TimeZoneRegressionTest.java | 81 if (z.inDaylightTime(d1)) { in Test4073215() 87 if (!z.inDaylightTime(d2)) { in Test4073215() 93 if (z.inDaylightTime(d3)) { in Test4073215() 264 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314() 271 if (inDaylightTime) in checkCalendar314() 323 if (!tz.inDaylightTime(dt)) in Test4126678() 664 z.inDaylightTime(null); in Test4159922() 1054 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134() 1082 isDst = icuEastern.inDaylightTime(d); in TestJ5134() 1083 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134() [all …]
|
D | TimeZoneTest.java | 393 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName() 483 if (tz.inDaylightTime(now)) { in TestDisplayName2() 620 if (zone.inDaylightTime(new Date(marchOne - 1000)) || in TestRuleAPI() 621 !zone.inDaylightTime(new Date(marchOne))) in TestRuleAPI() 623 if (!zone.inDaylightTime(new Date(julyOne - 1000)) || in TestRuleAPI() 624 zone.inDaylightTime(new Date(julyOne))) in TestRuleAPI() 628 if (zone.inDaylightTime(new Date(marchOne)) || in TestRuleAPI() 629 zone.inDaylightTime(new Date(julyOne - 1000))) in TestRuleAPI() 640 boolean startsInDST = tz.inDaylightTime(new Date(min)); in _testUsingBinarySearch() 642 if (tz.inDaylightTime(new Date(max)) == startsInDST) { in _testUsingBinarySearch() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 158 if (tz.inDaylightTime(d) != startsInDST) in findDaylightBoundaryUsingTimeZone() 165 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 175 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone() 255 if (time_zone.inDaylightTime(d) == expInDaylightTime) in verifyDST() 256 logln("PASS: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 258 errln("FAIL: inDaylightTime = " + time_zone.inDaylightTime(d)); in verifyDST() 665 boolean startsInDST = tz.inDaylightTime(d); in _testUsingBinarySearch() 667 if (tz.inDaylightTime(new Date(max)) == startsInDST) in _testUsingBinarySearch() 675 if (tz.inDaylightTime(new Date(mid)) == startsInDST) in _testUsingBinarySearch() 817 boolean lastState = z.inDaylightTime(d); in findBoundariesStepwise() [all …]
|
D | TimeZoneRegressionTest.java | 84 if (z.inDaylightTime(d1)) { in Test4073215() 90 if (!z.inDaylightTime(d2)) { in Test4073215() 96 if (z.inDaylightTime(d3)) { in Test4073215() 267 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314() 274 if (inDaylightTime) in checkCalendar314() 326 if (!tz.inDaylightTime(dt)) in Test4126678() 667 z.inDaylightTime(null); in Test4159922() 1057 boolean isDst = icuEastern.inDaylightTime(new Date(time)); in TestJ5134() 1085 isDst = icuEastern.inDaylightTime(d); in TestJ5134() 1086 isDstJdk = jdkEastern.inDaylightTime(d); in TestJ5134() [all …]
|
D | TimeZoneTest.java | 396 logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); in TestDisplayName() 486 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/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
D | ICUZDump.java | 96 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/ |
D | TimeZoneAdapter.java | 121 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter 122 return zone.inDaylightTime(date); in inDaylightTime()
|
D | JavaTimeZone.java | 173 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/ |
D | TimeZoneAdapter.java | 124 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneAdapter 125 return zone.inDaylightTime(date); in inDaylightTime()
|
D | JavaTimeZone.java | 175 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/ |
D | TimeZoneICU.java | 89 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.tests/src/com/ibm/icu/tests/ |
D | TimeZoneTest.java | 165 assertFalse(tz.inDaylightTime(date)); in testInDaylightTime() 168 assertTrue(tz.inDaylightTime(date)); in testInDaylightTime()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | TimeZone.java | 530 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZone 531 return timeZone.inDaylightTime(date); in inDaylightTime()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | TimeZoneJDK.java | 159 public boolean inDaylightTime(Date date) { in inDaylightTime() method in TimeZoneJDK 160 return fJdkTz.inDaylightTime(date); in inDaylightTime()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 50 public boolean inDaylightTime(java.util.Date p1) { in inDaylightTime() method in Support_TimeZone
|
/external/icu/icu4c/source/i18n/ |
D | cecal.h | 88 virtual UBool inDaylightTime(UErrorCode&) const;
|
D | indiancal.h | 302 virtual UBool inDaylightTime(UErrorCode& status) const;
|
D | persncal.h | 295 virtual UBool inDaylightTime(UErrorCode& status) const;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRoundTripTest.java | 239 (fmt.getTimeZone().inDaylightTime(d[0]) in _test() 240 || fmt.getTimeZone().inDaylightTime(d[1]) in _test()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRoundTripTest.java | 236 (fmt.getTimeZone().inDaylightTime(d[0]) in _test() 237 || fmt.getTimeZone().inDaylightTime(d[1]) in _test()
|