Home
last modified time | relevance | path

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

12

/external/apache-harmony/support/src/test/java/tests/support/
DSupport_TimeZone.java34 boolean useDaylightTime; field in Support_TimeZone
36 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { in Support_TimeZone() argument
38 this.useDaylightTime = useDaylightTime; in Support_TimeZone()
52 if (!useDaylightTime) { in inDaylightTime()
66 public boolean useDaylightTime() { in useDaylightTime() method in Support_TimeZone
67 return useDaylightTime; in useDaylightTime()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DSimpleTimeZoneTest.java43 .useDaylightTime()); in test_ConstructorILjava_lang_String()
64 assertTrue("Incorrect TZ constructed", st.useDaylightTime()); in test_ConstructorILjava_lang_StringIIIIIIII()
85 assertTrue("Incorrect TZ constructed", st.useDaylightTime()); in test_ConstructorILjava_lang_StringIIIIIIIII()
324 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setEndRuleIIII()
344 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setEndRuleIIIIZ()
384 assertTrue("StartRule improperly set", st.useDaylightTime()); in test_setStartRuleIII()
405 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setStartRuleIIII()
425 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setStartRuleIIIIZ()
477 .useDaylightTime()); in test_useDaylightTime()
483 .useDaylightTime()); in test_useDaylightTime()
/external/icu4c/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.cpp91 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); in TestGenericAPI()
170 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); in TestRuleAPI()
346 if (!time_zone->useDaylightTime()) dataerrln("FAIL: useDaylightTime returned FALSE"); in TestVariousAPI518()
912 UBool usesDaylight = tz->useDaylightTime(); in TestShortZoneIDs()
1559 if (!tz->useDaylightTime()) in TestDSTSavings()
2300 assertFalse("getUnknown() uses DST", unknown.useDaylightTime()); in TestGetUnknown()
Dtzrulets.cpp394 if (!rbtz1->useDaylightTime()) { in TestSimpleRuleBasedTimeZone()
1691 if (otz->useDaylightTime() != vtz->useDaylightTime()) { in TestVTimeZoneCoverage()
/external/icu4c/i18n/
Dolsontz.cpp552 UBool OlsonTimeZone::useDaylightTime() const { in useDaylightTime() function in OlsonTimeZone
561 return finalZone->useDaylightTime(); in useDaylightTime()
794 if (finalZone->useDaylightTime()) { in initTransitionRules()
875 if (finalZone->useDaylightTime()) { in getNextTransition()
940 if (finalZone->useDaylightTime()) { in getPreviousTransition()
1009 if (finalZone->useDaylightTime()) { in countTransitionRules()
Dcecal.cpp90 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
Dtimezone.cpp1216 if (useDaylightTime()) { in getDSTSavings()
1263 offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName()
1299 … offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName()
1508 useDaylightTime() == other.useDaylightTime()); in hasSameRules()
Dolsontz.h211 virtual UBool useDaylightTime() const;
Dpersncal.cpp238 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
Dvzone.cpp147 return ((VTimeZone*)zone)->VTimeZone::useDaylightTime(); in vzone_useDaylightTime()
Dindiancal.cpp339 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) { in inDaylightTime()
Dislamcal.cpp451 if (U_FAILURE(status) || (&(getTimeZone()) == NULL && !getTimeZone().useDaylightTime())) in inDaylightTime()
Dhebrwcal.cpp662 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
Dchnsecal.cpp767 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
Dgregocal.cpp1240 if (U_FAILURE(status) || !getTimeZone().useDaylightTime()) in inDaylightTime()
Dsimpletz.cpp706 SimpleTimeZone::useDaylightTime() const in useDaylightTime() function in SimpleTimeZone
Drbtz.cpp474 RuleBasedTimeZone::useDaylightTime(void) const { in useDaylightTime() function in RuleBasedTimeZone
Dvtzone.cpp1212 VTimeZone::useDaylightTime(void) const { in useDaylightTime() function in VTimeZone
1213 return tz->useDaylightTime(); in useDaylightTime()
/external/icu4c/i18n/unicode/
Drbtz.h223 virtual UBool useDaylightTime(void) const;
Dtimezone.h641 virtual UBool useDaylightTime(void) const = 0;
Dvtzone.h287 virtual UBool useDaylightTime(void) const;
Dsimpletz.h669 virtual UBool useDaylightTime(void) const;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java196 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()

12