Home
last modified time | relevance | path

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

1234

/external/icu/android_icu4j/src/main/java/android/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.java174 if (tt != null && tt.getTo().getDSTSavings() != 0) { in useDaylightTime()
203 if (toRule.getDSTSavings() != 0) { in observesDaylightTime()
345 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
347 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
379 && 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()
445 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
493 int curDstSavings = curRule.getDSTSavings(); in complete()
512 && r.getDSTSavings() == curRule.getDSTSavings())) { in complete()
[all …]
DSimpleTimeZone.java550 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
793 date -= getDSTSavings(); in getOffsetFromLocal()
800 date -= getDSTSavings(); in getOffsetFromLocal()
1246 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition()
1248 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition()
1274 dstRule.getDSTSavings(), inclusive); in getPreviousTransition()
1276 stdRule.getDSTSavings(), inclusive); in getPreviousTransition()
1339 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules()
1369 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules()
1374 dstRule.getDSTSavings()); in initTransitionRules()
DTimeZone.java499 int offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
507 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
537 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName()
561 public int getDSTSavings() { in getDSTSavings() method in TimeZone
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBasicTimeZone.java148 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
149 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
150 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
159 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
160 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
161 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
192 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
193 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
194 || tr1.getTo().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() == 0 in hasEquivalentTransitions()
195 || tr1.getTo().getDSTSavings() == 0 && tr2.getTo().getDSTSavings() != 0) { in hasEquivalentTransitions()
[all …]
DRuleBasedTimeZone.java189 if (tt != null && tt.getTo().getDSTSavings() != 0) { in useDaylightTime()
219 if (toRule.getDSTSavings() != 0) { in observesDaylightTime()
367 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition()
369 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition()
401 && 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()
469 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
518 int curDstSavings = curRule.getDSTSavings(); in complete()
537 && r.getDSTSavings() == curRule.getDSTSavings())) { in complete()
[all …]
DSimpleTimeZone.java569 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
814 date -= getDSTSavings(); in getOffsetFromLocal()
821 date -= getDSTSavings(); in getOffsetFromLocal()
1275 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition()
1277 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition()
1304 dstRule.getDSTSavings(), inclusive); in getPreviousTransition()
1306 stdRule.getDSTSavings(), inclusive); in getPreviousTransition()
1370 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules()
1400 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules()
1405 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
/external/icu/icu4c/source/i18n/
Dbasictz.cpp80 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions()
81 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions()
82 … && (tr1.getFrom()->getDSTSavings() != 0 && tr1.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
91 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions()
92 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions()
93 … && (tr2.getFrom()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
114 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions()
115 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions()
116 || (tr1.getTo()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() == 0) in hasEquivalentTransitions()
117 || (tr1.getTo()->getDSTSavings() == 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
[all …]
Drbtz.cpp200 int32_t curDstSavings = curRule->getDSTSavings(); in complete()
222 && r->getDSTSavings() == curRule->getDSTSavings())) { in complete()
302 …0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt0); in complete()
303 …1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSavings(), false, tt1); in complete()
324 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
331 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
470 dstOffset = rule->getDSTSavings(); in getOffsetInternal()
507 if (avail && to->getDSTSavings() != 0) { in useDaylightTime()
708 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal()
709 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal()
[all …]
Dsimpletz.cpp539 date -= getDSTSavings(); in getOffsetFromLocal()
545 date -= getDSTSavings(); in getOffsetFromLocal()
702 SimpleTimeZone::getDSTSavings() const in getDSTSavings() function in SimpleTimeZone
990 …UBool stdAvail = stdRule->getNextStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), in… in getNextTransition()
991 …UBool dstAvail = dstRule->getNextStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), in… in getNextTransition()
1024 …l = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1025 …l = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), inclusive, … in getPreviousTransition()
1139 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules()
1188 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules()
1192 …e = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDSTSavings()); in initTransitionRules()
Dzrule.cpp58 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
109 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getDSTSavings(); in izrule_getDSTSavings()
Dolsontz.cpp591 OlsonTimeZone::getDSTSavings() const{ in getDSTSavings() function in OlsonTimeZone
593 return finalZone->getDSTSavings(); in getDSTSavings()
595 return TimeZone::getDSTSavings(); in getDSTSavings()
930 && from->getDSTSavings() == to->getDSTSavings()) { in getNextTransition()
991 && from->getDSTSavings() == to->getDSTSavings()) { in getPreviousTransition()
/external/cldr/tools/java/org/unicode/cldr/test/
DPrintTransitions.java50 int fromOffset = (from.getRawOffset() + from.getDSTSavings()) / 3600000; in main()
51 int fromMins = ((from.getRawOffset() + from.getDSTSavings()) % 3600000) / 60000; in main()
54 int toOffset = (to.getRawOffset() + to.getDSTSavings()) / 3600000; in main()
55 int toMins = ((to.getRawOffset() + to.getDSTSavings()) % 3600000) / 60000; in main()
66 int fromOffset = (from.getRawOffset() + from.getDSTSavings()) / 3600000; in main()
67 int fromMins = ((from.getRawOffset() + from.getDSTSavings()) % 3600000) / 60000; in main()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java51 … Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getFrom().getDSTSavings()); in nextTransitionExample()
52 …(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo().getDSTSavings()); in nextTransitionExample()
78 … Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getFrom().getDSTSavings()); in previousTransitionExample()
79 …(" - 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.java1515 || tzt0.getTo().getDSTSavings() != tzt.getFrom().getDSTSavings())) { in verifyTransitions()
1543 || tzt0.getFrom().getDSTSavings() != tzt.getTo().getDSTSavings())) { in verifyTransitions()
1752 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
1753 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
1754 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1763 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
1764 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
1765 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1795 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
1796 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1518 || tzt0.getTo().getDSTSavings() != tzt.getFrom().getDSTSavings())) { in verifyTransitions()
1546 || tzt0.getFrom().getDSTSavings() != tzt.getTo().getDSTSavings())) { in verifyTransitions()
1755 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions()
1756 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions()
1757 … && (tr1.getFrom().getDSTSavings() != 0 && tr1.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1766 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions()
1767 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions()
1768 … && (tr2.getFrom().getDSTSavings() != 0 && tr2.getTo().getDSTSavings() != 0)) { in hasEquivalentTransitions()
1798 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions()
1799 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DTimeZoneICU.java59 public int getDSTSavings() { in getDSTSavings() method in TimeZoneICU
60 return fIcuTz.getDSTSavings(); in getDSTSavings()
/external/icu/icu4j/main/classes/core/src/com/ibm/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()
984 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
1036 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
DJavaTimeZone.java218 public int getDSTSavings() { in getDSTSavings() method in JavaTimeZone
219 return javatz.getDSTSavings(); in getDSTSavings()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java208 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset()
209 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset()
377 public int getDSTSavings() { in getDSTSavings() method in OlsonTimeZone
379 return finalZone.getDSTSavings(); in getDSTSavings()
381 return super.getDSTSavings(); in getDSTSavings()
986 && from.getDSTSavings() == to.getDSTSavings()) { in getNextTransition()
1038 && from.getDSTSavings() == to.getDSTSavings()) { in getPreviousTransition()
DJavaTimeZone.java222 public int getDSTSavings() { in getDSTSavings() method in JavaTimeZone
223 return javatz.getDSTSavings(); in getDSTSavings()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp2366 || tzt0.getTo()->getDSTSavings() != tzt.getFrom()->getDSTSavings())) { in verifyTransitions()
2400 || tzt0.getFrom()->getDSTSavings() != tzt.getTo()->getDSTSavings())) { in verifyTransitions()
2569 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2570 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2571 … && (tr1.getFrom()->getDSTSavings() != 0 && tr1.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2580 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions()
2581 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions()
2582 … && (tr2.getFrom()->getDSTSavings() != 0 && tr2.getTo()->getDSTSavings() != 0)) { in hasEquivalentTransitions()
2604 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions()
2605 != 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.java479 public int getDSTSavings() { in getDSTSavings() method in TimeZone
480 return timeZone.getDSTSavings(); in getDSTSavings()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java78 public int getDSTSavings() { in getDSTSavings() method in TimeZoneJDK
79 return fJdkTz.getDSTSavings(); in getDSTSavings()

1234