Home
last modified time | relevance | path

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

12

/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/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()
1002 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
1346 public boolean useDaylightTime() { in useDaylightTime() method in TimeZone.ConstantZone
/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/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()
558 if (zone.useDaylightTime()) errln("FAIL: useDaylightTime should return false"); in TestRuleAPI()
692 if (time_zone.useDaylightTime() != true) in TestVariousAPI518()
871 if (!tz.useDaylightTime()) in TestDSTSavings()
1320 boolean fdy = ftz.useDaylightTime(); in TestOddTimeZoneNames()
1325 boolean cdy = ctz.useDaylightTime(); in TestOddTimeZoneNames()
1350 public boolean useDaylightTime() {return false;} in TestCoverage() method in TimeZoneTest.StubTimeZone
1877 assertFalse("UNKNOWN_ZONE uses DST", TimeZone.UNKNOWN_ZONE.useDaylightTime()); in TestZoneFields()
1881 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()
Dtztest.cpp92 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); in TestGenericAPI()
168 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); in TestRuleAPI()
344 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518()
910 UBool usesDaylight = tz->useDaylightTime(); in TestShortZoneIDs()
1557 if (!tz->useDaylightTime()) in TestDSTSavings()
2393 assertFalse("getUnknown() uses DST", unknown.useDaylightTime()); in TestGetUnknown()
/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()
Dolsontz.h212 virtual UBool useDaylightTime() const;
Dtimezone.cpp1188 if (useDaylightTime()) { in getDSTSavings()
1239 offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName()
1275 … offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName()
1490 useDaylightTime() == other.useDaylightTime()); in hasSameRules()
Dvzone.cpp147 return ((VTimeZone*)zone)->VTimeZone::useDaylightTime(); in vzone_useDaylightTime()
Dindiancal.cpp338 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h223 virtual UBool useDaylightTime(void) const;
Dtimezone.h716 virtual UBool useDaylightTime(void) const = 0;
Dvtzone.h287 virtual UBool useDaylightTime(void) const;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1GeneralizedTime.java220 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTestJ.java227 if (sdf.getTimeZone().useDaylightTime()) { in Test4468663()

12