Home
last modified time | relevance | path

Searched refs:getDSTSavings (Results 1 – 22 of 22) sorted by relevance

/external/icu4c/i18n/
Dbasictz.cpp78 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions()
79 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions()
80 … && (tr1.getFrom()->getDSTSavings() != 0 && tr1.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
89 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions()
90 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions()
91 … && (tr2.getFrom()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
112 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions()
113 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions()
114 || (tr1.getTo()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() == 0) in hasEquivalentTransitions()
115 || (tr1.getTo()->getDSTSavings() == 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
[all …]
Drbtz.cpp182 int32_t curDstSavings = curRule->getDSTSavings(); in complete()
204 && r->getDSTSavings() == curRule->getDSTSavings())) { in complete()
284 …0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt0); in complete()
285 …1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt1); in complete()
306 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
313 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
450 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
487 if (avail && to->getDSTSavings() != 0) { in useDaylightTime()
688 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal()
689 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal()
[all …]
Dsimpletz.cpp535 date -= getDSTSavings(); in getOffsetFromLocal()
541 date -= getDSTSavings(); in getOffsetFromLocal()
698 SimpleTimeZone::getDSTSavings() const in getDSTSavings() function in SimpleTimeZone
986 …UBool stdAvail = stdRule->getNextStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), in… in getNextTransition()
987 …UBool dstAvail = dstRule->getNextStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), in… in getNextTransition()
1020 …l = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1021 …l = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1106 dstRule = new AnnualTimeZoneRule(tzid+DST_STR, getRawOffset(), getDSTSavings(), in initTransitionRules()
1155 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules()
1159 … initialRule = new InitialTimeZoneRule(tzid+DST_STR, getRawOffset(), dstRule->getDSTSavings()); in initTransitionRules()
Dzrule.cpp56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
107 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getDSTSavings(); in izrule_getDSTSavings()
Dolsontz.cpp586 OlsonTimeZone::getDSTSavings() const{ in getDSTSavings() function in OlsonTimeZone
588 return finalZone->getDSTSavings(); in getDSTSavings()
590 return TimeZone::getDSTSavings(); in getDSTSavings()
915 && from->getDSTSavings() == to->getDSTSavings()) { in getNextTransition()
976 && from->getDSTSavings() == to->getDSTSavings()) { in getPreviousTransition()
Dvtzone.cpp1622 int32_t tmpDST = finalRule->getDSTSavings(); in parse()
1638 r->getDSTSavings(), in parse()
1651 finalRule->getDSTSavings(), in parse()
1662 finalRule->getDSTSavings(), in parse()
1949 isDst = (tzt.getTo()->getDSTSavings() != 0); in writeZone()
1950 int32_t fromOffset = tzt.getFrom()->getRawOffset() + tzt.getFrom()->getDSTSavings(); in writeZone()
1951 int32_t fromDSTSavings = tzt.getFrom()->getDSTSavings(); in writeZone()
1952 int32_t toOffset = tzt.getTo()->getRawOffset() + tzt.getTo()->getDSTSavings(); in writeZone()
2491 int32_t toOffset = rule->getRawOffset() + rule->getDSTSavings(); in writeFinalRule()
Dwintzimpl.cpp60 daylightBias = -1 * (dst->getDSTSavings()/60000); in getSystemTimeInformation()
Dolsontz.h221 virtual int32_t getDSTSavings() const;
Dtzgnames.cpp608 && before.getFrom()->getDSTSavings() != 0) { in formatGenericNonLocationName()
615 && after.getTo()->getDSTSavings() != 0) { in formatGenericNonLocationName()
Dtzrule.cpp80 TimeZoneRule::getDSTSavings(void) const { in getDSTSavings() function in TimeZoneRule
Dsmpdtfmt.cpp2135 beforeSav = beforeTrs.getFrom()->getDSTSavings(); in parse()
2148 afterSav = afterTrs.getTo()->getDSTSavings(); in parse()
2165 resolvedSavings = btz->getDSTSavings(); in parse()
2168 resolvedSavings = tz.getDSTSavings(); in parse()
Ducal.cpp97 result = stz->getDSTSavings(); in ucal_getDSTSavings()
Dtimezone.cpp1202 TimeZone::getDSTSavings()const { in getDSTSavings() function in TimeZone
1306 getDSTSavings(), status); in getDisplayName()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTimeZoneTest.java53 ONE_HOUR, st1.getDSTSavings()); in test_getDSTSavings()
58 1800000, st1.getDSTSavings()); in test_getDSTSavings()
63 ONE_HOUR, tz1.getDSTSavings()); in test_getDSTSavings()
68 0, tz1.getDSTSavings()); in test_getDSTSavings()
DSimpleTimeZoneTest.java87 st.getDSTSavings() == 1000 * 60 * 60); in test_ConstructorILjava_lang_StringIIIIIIIII()
172 0, st1.getDSTSavings()); in test_getDSTSavings()
177 3600000, st1.getDSTSavings()); in test_getDSTSavings()
182 .getDSTSavings()); in test_getDSTSavings()
301 assertEquals("Daylight savings amount not set", 1, st.getDSTSavings()); in test_setDSTSavingsI()
/external/icu4c/test/intltest/
Dtzrulets.cpp2364 || tzt0.getTo()->getDSTSavings() != tzt.getFrom()->getDSTSavings())) { in verifyTransitions()
2398 || tzt0.getFrom()->getDSTSavings() != tzt.getTo()->getDSTSavings())) { in verifyTransitions()
2567 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2568 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2569 … && (tr1.getFrom()->getDSTSavings() != 0 && tr1.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2578 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2579 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2580 … && (tr2.getFrom()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2602 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions()
2603 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions()
[all …]
Dtzfmttst.cpp355 … int32_t fromOffset = tzt.getFrom()->getRawOffset() + tzt.getFrom()->getDSTSavings(); in run()
356 … int32_t toOffset = tzt.getTo()->getRawOffset() + tzt.getTo()->getDSTSavings(); in run()
359 … UBool isDstDecession = tzt.getFrom()->getDSTSavings() > 0 && tzt.getTo()->getDSTSavings() == 0; in run()
Dtzregts.cpp1010 if (z.getDSTSavings() == 0) { in TestJ186()
1129 int32_t savings = cst->getDSTSavings(); in TestJDK12API()
Dtztest.cpp1586 if (tz->getDSTSavings() != 0.5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1587 errln(UnicodeString("Set DST offset to 0.5 hour, but got back ") + (tz->getDSTSavings() / in TestDSTSavings()
1698 int dst_icu = tz_icu->getDSTSavings(); in TestFractionalDST()
/external/icu4c/i18n/unicode/
Dtimezone.h664 virtual int32_t getDSTSavings() const;
Dtzrule.h87 int32_t getDSTSavings(void) const;
Dsimpletz.h661 virtual int32_t getDSTSavings(void) const;