Home
last modified time | relevance | path

Searched refs:useDaylightTime (Results 1 – 25 of 73) 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.java512 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
542 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
567 if (useDaylightTime()) { in getDSTSavings()
588 abstract public boolean useDaylightTime(); in useDaylightTime() method in TimeZone
615 return useDaylightTime() || inDaylightTime(new Date()); in observesDaylightTime()
937 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
1265 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()
1014 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
1358 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone.ConstantZone
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneAdapter.java106 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneAdapter
107 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.java186 public boolean useDaylightTime() { in useDaylightTime() method in JavaTimeZone
187 return javatz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneAdapter.java105 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneAdapter
106 return zone.useDaylightTime(); in useDaylightTime()
DOlsonTimeZone.java184 boolean bDst = useDaylightTime(); in setRawOffset()
303 public boolean useDaylightTime() { in useDaylightTime() method in OlsonTimeZone
312 return (finalZone != null && finalZone.useDaylightTime()); in useDaylightTime()
343 if (finalZone.useDaylightTime()) { in observesDaylightTime()
955 if (finalZone.useDaylightTime()) { in getNextTransition()
1006 if (finalZone.useDaylightTime()) { in getPreviousTransition()
1064 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1084 if (finalZone.useDaylightTime()) { in getTimeZoneRules()
1184 if (finalZone.useDaylightTime()) { in initTransitionRules()
DJavaTimeZone.java184 public boolean useDaylightTime() { in useDaylightTime() method in JavaTimeZone
185 return javatz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java102 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneICU
103 return fIcuTz.useDaylightTime(); in useDaylightTime()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java258 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST()
259 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
261 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
816 logln("useDaylightTime = " + z.useDaylightTime()); in findBoundariesStepwise()
832 if (!lastState && !z.useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
839 else if (!z.useDaylightTime()) in findBoundariesStepwise()
DTimeZoneRegression.java69 if (z.useDaylightTime()) in Test4073215()
73 if (!z.useDaylightTime()) in Test4073215()
443 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
444 !tza.useDaylightTime() || !tzA.useDaylightTime() || in Test4154537()
445 !tzb.useDaylightTime()) { in Test4154537()
1075 boolean useDst = tz.useDaylightTime(); in TestT5280()
1096 boolean newDst = tz.useDaylightTime(); in TestT5280()
DTimeZoneTest.java221 this.daylight = zone.useDaylightTime(); in ZoneDescriptor()
495 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestGenericAPI()
573 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestRuleAPI()
707 if (time_zone.useDaylightTime() != true) in TestVariousAPI518()
886 if (!tz.useDaylightTime()) in TestDSTSavings()
1335 boolean fdy = ftz.useDaylightTime(); in TestOddTimeZoneNames()
1340 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
1365 public boolean useDaylightTime() {return false;} in TestCoverage() method in TimeZoneTest.StubTimeZone
1892 assertFalse("UNKNOWN_ZONE uses DST", TimeZone.UNKNOWN_ZONE.useDaylightTime()); in TestZoneFields()
1896 assertFalse("GMT_ZONE uses DST", TimeZone.GMT_ZONE.useDaylightTime()); in TestZoneFields()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java254 if (time_zone.useDaylightTime() == expUseDaylightTime) in verifyDST()
255 logln("PASS: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
257 errln("FAIL: useDaylightTime = " + time_zone.useDaylightTime()); in verifyDST()
812 logln("useDaylightTime = " + z.useDaylightTime()); in findBoundariesStepwise()
828 if (!lastState && !z.useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
835 else if (!z.useDaylightTime()) in findBoundariesStepwise()
DTimeZoneRegression.java65 if (z.useDaylightTime()) in Test4073215()
69 if (!z.useDaylightTime()) in Test4073215()
439 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
440 !tza.useDaylightTime() || !tzA.useDaylightTime() || in Test4154537()
441 !tzb.useDaylightTime()) { in Test4154537()
1071 boolean useDst = tz.useDaylightTime(); in TestT5280()
1092 boolean newDst = tz.useDaylightTime(); in TestT5280()
DTimeZoneTest.java217 this.daylight = zone.useDaylightTime(); in ZoneDescriptor()
491 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestGenericAPI()
569 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestRuleAPI()
703 if (time_zone.useDaylightTime() != true) in TestVariousAPI518()
882 if (!tz.useDaylightTime()) in TestDSTSavings()
1331 boolean fdy = ftz.useDaylightTime(); in TestOddTimeZoneNames()
1336 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
1361 public boolean useDaylightTime() {return false;} in TestCoverage() method in TimeZoneTest.StubTimeZone
1888 assertFalse("UNKNOWN_ZONE uses DST", TimeZone.UNKNOWN_ZONE.useDaylightTime()); in TestZoneFields()
1892 assertFalse("GMT_ZONE uses DST", TimeZone.GMT_ZONE.useDaylightTime()); in TestZoneFields()
/external/icu/icu4c/source/test/intltest/
Dtzbdtest.cpp200 if (time_zone->useDaylightTime() == expUseDaylightTime) in verifyDST()
201 … logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false")); in verifyDST()
203 …dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"… in verifyDST()
460 logln(UnicodeString("useDaylightTime = ") + (z->useDaylightTime()?"true":"false")); in findBoundariesStepwise()
473 !z->useDaylightTime()) logln("No DST"); in findBoundariesStepwise()
479 else if (!z->useDaylightTime()) { in findBoundariesStepwise()
Dtzregts.cpp131 if (z->useDaylightTime()) in Test4073215()
137 if (!z->useDaylightTime()) in Test4073215()
465 if (! tz->useDaylightTime() || U_FAILURE(status)) in Test4126678()
565 if (tz1->useDaylightTime() || tz2->useDaylightTime() || in Test4154537()
566 !tza->useDaylightTime() || !tzA->useDaylightTime() || in Test4154537()
567 !tzb->useDaylightTime()) { in Test4154537()
999 if (z.useDaylightTime()) { in TestJ186()
1007 if (!z.useDaylightTime()) { in TestJ186()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java487 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone
488 return timeZone.useDaylightTime(); in useDaylightTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java191 public boolean useDaylightTime() { in useDaylightTime() method in TimeZoneJDK
192 return fJdkTz.useDaylightTime(); in useDaylightTime()
/external/icu/icu4c/source/i18n/
Dolsontz.cpp558 UBool OlsonTimeZone::useDaylightTime() const { in useDaylightTime() function in OlsonTimeZone
567 return finalZone->useDaylightTime(); in useDaylightTime()
811 if (finalZone->useDaylightTime()) { in initTransitionRules()
891 if (finalZone->useDaylightTime()) { in getNextTransition()
956 if (finalZone->useDaylightTime()) { in getPreviousTransition()
1025 if (finalZone->useDaylightTime()) { in countTransitionRules()
Dcecal.cpp90 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
Dpersncal.cpp238 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h223 virtual UBool useDaylightTime(void) const;
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java152 assertTrue(tz.useDaylightTime()); in testUseDaylightTime()

123