Home
last modified time | relevance | path

Searched refs:useDaylightTime (Results 1 – 25 of 69) sorted by relevance

123

/external/apache-harmony/support/src/test/java/tests/support/
DSupport_TimeZone.java33 boolean useDaylightTime; field in Support_TimeZone
35 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { in Support_TimeZone() argument
37 this.useDaylightTime = useDaylightTime; in Support_TimeZone()
51 if (!useDaylightTime) { in inDaylightTime()
65 public boolean useDaylightTime() { in useDaylightTime() method in Support_TimeZone
66 return useDaylightTime; in useDaylightTime()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java507 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
537 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
562 if (useDaylightTime()) { in getDSTSavings()
583 abstract public boolean useDaylightTime(); in useDaylightTime() method in TimeZone
610 return useDaylightTime() || inDaylightTime(new Date()); in observesDaylightTime()
955 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
1291 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone.ConstantZone
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java571 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
601 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
627 if (useDaylightTime()) { in getDSTSavings()
649 abstract public boolean useDaylightTime(); in useDaylightTime() method in TimeZone
677 return useDaylightTime() || inDaylightTime(new Date()); in observesDaylightTime()
1038 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
1390 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone.ConstantZone
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneAdapter.java113 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneAdapter
114 return zone.useDaylightTime(); in useDaylightTime()
DOlsonTimeZone.java186 boolean bDst = useDaylightTime(); in setRawOffset()
305 public boolean useDaylightTime() { in useDaylightTime() method in OlsonTimeZone
314 return (finalZone != null && finalZone.useDaylightTime()); in useDaylightTime()
345 if (finalZone.useDaylightTime()) { in observesDaylightTime()
957 if (finalZone.useDaylightTime()) { in getNextTransition()
1008 if (finalZone.useDaylightTime()) { in getPreviousTransition()
1066 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1086 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1186 if (finalZone.useDaylightTime()) { in initTransitionRules()
DJavaTimeZone.java192 public boolean useDaylightTime() { in useDaylightTime() method in JavaTimeZone
193 return javatz.useDaylightTime(); in useDaylightTime()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneAdapter.java116 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneAdapter
117 return zone.useDaylightTime(); in useDaylightTime()
DOlsonTimeZone.java188 boolean bDst = useDaylightTime(); in setRawOffset()
307 public boolean useDaylightTime() { in useDaylightTime() method in OlsonTimeZone
316 return (finalZone != null && finalZone.useDaylightTime()); in useDaylightTime()
347 if (finalZone.useDaylightTime()) { in observesDaylightTime()
959 if (finalZone.useDaylightTime()) { in getNextTransition()
1010 if (finalZone.useDaylightTime()) { in getPreviousTransition()
1068 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1088 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1188 if (finalZone.useDaylightTime()) { in initTransitionRules()
DJavaTimeZone.java194 public boolean useDaylightTime() { in useDaylightTime() method in JavaTimeZone
195 return javatz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp202 if (time_zone->useDaylightTime() == expUseDaylightTime) in verifyDST()
203 … logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false")); in verifyDST()
205 …dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"… in verifyDST()
462 logln(UnicodeString("useDaylightTime = ") + (z->useDaylightTime()?"true":"false")); in findBoundariesStepwise()
475 !z->useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
481 else if (!z->useDaylightTime()) { in findBoundariesStepwise()
Dtzregts.cpp133 if (z->useDaylightTime()) in Test4073215()
139 if (!z->useDaylightTime()) in Test4073215()
467 if (! tz->useDaylightTime() || U_FAILURE(status)) in Test4126678()
567 if (tz1->useDaylightTime() || tz2->useDaylightTime() || in Test4154537()
568 !tza->useDaylightTime() || !tzA->useDaylightTime() || in Test4154537()
569 !tzb->useDaylightTime()) { in Test4154537()
1001 if (z.useDaylightTime()) { in TestJ186()
1009 if (!z.useDaylightTime()) { in TestJ186()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java257 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST()
258 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
260 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
817 logln("useDaylightTime = " + z.useDaylightTime()); in findBoundariesStepwise()
833 if (!lastState && !z.useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
840 else if (!z.useDaylightTime()) in findBoundariesStepwise()
DTimeZoneRegressionTest.java70 if (z.useDaylightTime()) in Test4073215()
74 if (!z.useDaylightTime()) in Test4073215()
452 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
453 !tza.useDaylightTime() || !tzA.useDaylightTime() || in Test4154537()
454 !tzb.useDaylightTime()) { in Test4154537()
1100 boolean useDst = tz.useDaylightTime(); in TestT5280()
1121 boolean newDst = tz.useDaylightTime(); in TestT5280()
DTimeZoneTest.java222 this.daylight = zone.useDaylightTime(); in ZoneDescriptor()
504 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestGenericAPI()
566 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestRuleAPI()
702 if (time_zone.useDaylightTime() != true) in TestVariousAPI518()
884 if (!tz.useDaylightTime()) in TestDSTSavings()
1340 boolean fdy = ftz.useDaylightTime(); in TestOddTimeZoneNames()
1345 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
1375 public boolean useDaylightTime() {return false;} in TestCoverage() method in TimeZoneTest.StubTimeZone
1912 assertFalse("UNKNOWN_ZONE uses DST", TimeZone.UNKNOWN_ZONE.useDaylightTime()); in TestZoneFields()
1916 assertFalse("GMT_ZONE uses DST", TimeZone.GMT_ZONE.useDaylightTime()); in TestZoneFields()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java260 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST()
261 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
263 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
820 logln("useDaylightTime = " + z.useDaylightTime()); in findBoundariesStepwise()
836 if (!lastState && !z.useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
843 else if (!z.useDaylightTime()) in findBoundariesStepwise()
DTimeZoneRegressionTest.java73 if (z.useDaylightTime()) in Test4073215()
77 if (!z.useDaylightTime()) in Test4073215()
455 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
456 !tza.useDaylightTime() || !tzA.useDaylightTime() || in Test4154537()
457 !tzb.useDaylightTime()) { in Test4154537()
1103 boolean useDst = tz.useDaylightTime(); in TestT5280()
1124 boolean newDst = tz.useDaylightTime(); in TestT5280()
DTimeZoneTest.java225 this.daylight = zone.useDaylightTime(); in ZoneDescriptor()
507 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestGenericAPI()
569 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestRuleAPI()
705 if (time_zone.useDaylightTime() != true) in TestVariousAPI518()
887 if (!tz.useDaylightTime()) in TestDSTSavings()
1343 boolean fdy = ftz.useDaylightTime(); in TestOddTimeZoneNames()
1348 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
1378 public boolean useDaylightTime() {return false;} in TestCoverage() method in TimeZoneTest.StubTimeZone
1915 assertFalse("UNKNOWN_ZONE uses DST", TimeZone.UNKNOWN_ZONE.useDaylightTime()); in TestZoneFields()
1919 assertFalse("GMT_ZONE uses DST", TimeZone.GMT_ZONE.useDaylightTime()); in TestZoneFields()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java104 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneICU
105 return fIcuTz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java489 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone
490 return timeZone.useDaylightTime(); in useDaylightTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java180 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneJDK
181 return fJdkTz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4c/source/i18n/
Dolsontz.cpp560 UBool OlsonTimeZone::useDaylightTime() const { in useDaylightTime() function in OlsonTimeZone
569 return finalZone->useDaylightTime(); in useDaylightTime()
813 if (finalZone->useDaylightTime()) { in initTransitionRules()
893 if (finalZone->useDaylightTime()) { in getNextTransition()
958 if (finalZone->useDaylightTime()) { in getPreviousTransition()
1027 if (finalZone->useDaylightTime()) { in countTransitionRules()
Dcecal.cpp92 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
Dpersncal.cpp240 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h225 virtual UBool useDaylightTime(void) const;
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java154 assertTrue(tz.useDaylightTime()); in testUseDaylightTime()

123