Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/java/android/icu/util/
DBasicTimeZone.java139 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
140 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
141 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
150 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
151 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
152 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
183 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
184 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
185 || tr1.getTo().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() == 0 in hasEquivalentTransitions()
186 || tr1.getTo().getDSTSavings() == 0 && tr2.getTo().getDSTSavings() != 0) { in hasEquivalentTransitions()
[all …]
DRuleBasedTimeZone.java172 if (tt != null && tt.getTo().getDSTSavings() != 0) { in useDaylightTime()
201 if (toRule.getDSTSavings() != 0) { in observesDaylightTime()
343 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
345 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
378 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
416 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition()
418 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getPreviousTransition()
446 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
495 int curDstSavings = curRule.getDSTSavings(); in complete()
514 && r.getDSTSavings() == curRule.getDSTSavings())) { in complete()
[all …]
DSimpleTimeZone.java546 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
788 date -= getDSTSavings(); in getOffsetFromLocal()
795 date -= getDSTSavings(); in getOffsetFromLocal()
1239 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition()
1241 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition()
1267 dstRule.getDSTSavings(), inclusive); in getPreviousTransition()
1269 stdRule.getDSTSavings(), inclusive); in getPreviousTransition()
1332 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules()
1362 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules()
1367 dstRule.getDSTSavings()); in initTransitionRules()
DTimeZone.java504 int offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
512 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
542 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
566 public int getDSTSavings() { in getDSTSavings() method in TimeZone
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBasicTimeZone.java146 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
147 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
148 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
157 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
158 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
159 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
190 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
191 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
192 || tr1.getTo().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() == 0 in hasEquivalentTransitions()
193 || tr1.getTo().getDSTSavings() == 0 && tr2.getTo().getDSTSavings() != 0) { in hasEquivalentTransitions()
[all …]
DRuleBasedTimeZone.java187 if (tt != null && tt.getTo().getDSTSavings() != 0) { in useDaylightTime()
217 if (toRule.getDSTSavings() != 0) { in observesDaylightTime()
365 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
367 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
400 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
440 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition()
442 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getPreviousTransition()
470 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
520 int curDstSavings = curRule.getDSTSavings(); in complete()
539 && r.getDSTSavings() == curRule.getDSTSavings())) { in complete()
[all …]
DSimpleTimeZone.java565 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
809 date -= getDSTSavings(); in getOffsetFromLocal()
816 date -= getDSTSavings(); in getOffsetFromLocal()
1268 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition()
1270 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition()
1297 dstRule.getDSTSavings(), inclusive); in getPreviousTransition()
1299 stdRule.getDSTSavings(), inclusive); in getPreviousTransition()
1363 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules()
1393 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules()
1398 dstRule.getDSTSavings()); in initTransitionRules()
DTimeZone.java563 int offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
571 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
601 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
626 public int getDSTSavings() { in getDSTSavings() method in TimeZone
DTimeZoneRule.java77 public int getDSTSavings() { in getDSTSavings() method in TimeZoneRule
/external/icu/icu4c/source/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.cpp198 int32_t curDstSavings = curRule->getDSTSavings(); in complete()
220 && r->getDSTSavings() == curRule->getDSTSavings())) { in complete()
300 …0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt0); in complete()
301 …1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt1); in complete()
322 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
329 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
468 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
505 if (avail && to->getDSTSavings() != 0) { in useDaylightTime()
706 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal()
707 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal()
[all …]
Dsimpletz.cpp536 date -= getDSTSavings(); in getOffsetFromLocal()
542 date -= getDSTSavings(); in getOffsetFromLocal()
699 SimpleTimeZone::getDSTSavings() const in getDSTSavings() function in SimpleTimeZone
987 …UBool stdAvail = stdRule->getNextStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), in… in getNextTransition()
988 …UBool dstAvail = dstRule->getNextStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), in… in getNextTransition()
1021 …l = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1022 …l = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1136 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules()
1185 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules()
1189 …e = new InitialTimeZoneRule(tzid+UnicodeString(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.cpp592 OlsonTimeZone::getDSTSavings() const{ in getDSTSavings() function in OlsonTimeZone
594 return finalZone->getDSTSavings(); in getDSTSavings()
596 return TimeZone::getDSTSavings(); in getDSTSavings()
931 && from->getDSTSavings() == to->getDSTSavings()) { in getNextTransition()
992 && from->getDSTSavings() == to->getDSTSavings()) { in getPreviousTransition()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java49 … Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getFrom().getDSTSavings()); in nextTransitionExample()
50 …(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo().getDSTSavings()); in nextTransitionExample()
76 … Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getFrom().getDSTSavings()); in previousTransitionExample()
77 …(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo().getDSTSavings()); in previousTransitionExample()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1495 || tzt0.getTo().getDSTSavings() != tzt.getFrom().getDSTSavings())) { in verifyTransitions()
1523 || tzt0.getFrom().getDSTSavings() != tzt.getTo().getDSTSavings())) { in verifyTransitions()
1732 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
1733 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
1734 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1743 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
1744 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
1745 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1775 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
1776 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1499 || tzt0.getTo().getDSTSavings() != tzt.getFrom().getDSTSavings())) { in verifyTransitions()
1527 || tzt0.getFrom().getDSTSavings() != tzt.getTo().getDSTSavings())) { in verifyTransitions()
1736 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
1737 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
1738 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1747 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
1748 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
1749 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1779 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
1780 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java57 public int getDSTSavings() { in getDSTSavings() method in TimeZoneICU
58 return fIcuTz.getDSTSavings(); in getDSTSavings()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java206 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset()
207 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset()
375 public int getDSTSavings() { in getDSTSavings() method in OlsonTimeZone
377 return finalZone.getDSTSavings(); in getDSTSavings()
379 return super.getDSTSavings(); in getDSTSavings()
987 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
1039 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
DJavaTimeZone.java209 public int getDSTSavings() { in getDSTSavings() method in JavaTimeZone
210 return javatz.getDSTSavings(); in getDSTSavings()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java204 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset()
205 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset()
373 public int getDSTSavings() { in getDSTSavings() method in OlsonTimeZone
375 return finalZone.getDSTSavings(); in getDSTSavings()
377 return super.getDSTSavings(); in getDSTSavings()
985 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
1037 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
DJavaTimeZone.java207 public int getDSTSavings() { in getDSTSavings() method in JavaTimeZone
208 return javatz.getDSTSavings(); in getDSTSavings()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp2363 || tzt0.getTo()->getDSTSavings() != tzt.getFrom()->getDSTSavings())) { in verifyTransitions()
2397 || tzt0.getFrom()->getDSTSavings() != tzt.getTo()->getDSTSavings())) { in verifyTransitions()
2566 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2567 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2568 … && (tr1.getFrom()->getDSTSavings() != 0 && tr1.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2577 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2578 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2579 … && (tr2.getFrom()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2601 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions()
2602 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java477 public int getDSTSavings() { in getDSTSavings() method in TimeZone
478 return timeZone.getDSTSavings(); in getDSTSavings()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java89 public int getDSTSavings() { in getDSTSavings() method in TimeZoneJDK
90 return fJdkTz.getDSTSavings(); in getDSTSavings()

123