/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BasicTimeZone.java | 148 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 149 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 159 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 160 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 192 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 193 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() 199 if (tr1.getTo().getRawOffset() != tr2.getTo().getRawOffset() || in hasEquivalentTransitions() 251 tzt.getTo().getRawOffset(), tzt.getTo().getDSTSavings()); in getTimeZoneRules() 257 Date d = all[i].getNextStart(start, initial.getRawOffset(), in getTimeZoneRules() 303 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), in getTimeZoneRules() [all …]
|
D | RuleBasedTimeZone.java | 137 public int getRawOffset() { in getRawOffset() method in RuleBasedTimeZone 367 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition() 369 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition() 400 if (from.getRawOffset() == to.getRawOffset() in getNextTransition() 440 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition() 442 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getPreviousTransition() 468 if (from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 517 int curStdOffset = curRule.getRawOffset(); in complete() 536 && r.getRawOffset() == curRule.getRawOffset() in complete() 597 …Date d0 = finalRules[0].getNextStart(lastTransitionTime, curRule.getRawOffset(), curRule.getDSTSav… in complete() [all …]
|
D | TimeZone.java | 349 offsets[0] = getRawOffset(); in getOffset() 395 abstract public int getRawOffset(); in getRawOffset() method in TimeZone 566 int offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 574 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 604 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 1035 getRawOffset() == other.getRawOffset() && in hasSameRules() 1381 public int getRawOffset() { in getRawOffset() method in TimeZone.ConstantZone
|
D | SimpleTimeZone.java | 277 public int getRawOffset() { in getRawOffset() method in SimpleTimeZone 798 offsets[0] = getRawOffset(); in getOffsetFromLocal() 1272 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition() 1274 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition() 1300 Date stdDate = stdRule.getPreviousStart(base, dstRule.getRawOffset(), in getPreviousTransition() 1302 Date dstDate = dstRule.getPreviousStart(base, stdRule.getRawOffset(), in getPreviousTransition() 1367 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules() 1371 firstDstStart = dstRule.getFirstStart(getRawOffset(), 0).getTime(); in initTransitionRules() 1393 stdRule = new AnnualTimeZoneRule(getID() + "(STD)", getRawOffset(), 0, in initTransitionRules() 1397 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BasicTimeZone.java | 141 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 142 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 152 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 153 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 185 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 186 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() 192 if (tr1.getTo().getRawOffset() != tr2.getTo().getRawOffset() || in hasEquivalentTransitions() 240 tzt.getTo().getRawOffset(), tzt.getTo().getDSTSavings()); in getTimeZoneRules() 246 Date d = all[i].getNextStart(start, initial.getRawOffset(), in getTimeZoneRules() 292 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), in getTimeZoneRules() [all …]
|
D | RuleBasedTimeZone.java | 128 public int getRawOffset() { in getRawOffset() method in RuleBasedTimeZone 345 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition() 347 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition() 378 if (from.getRawOffset() == to.getRawOffset() in getNextTransition() 416 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getPreviousTransition() 418 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getPreviousTransition() 444 if (from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 492 int curStdOffset = curRule.getRawOffset(); in complete() 511 && r.getRawOffset() == curRule.getRawOffset() in complete() 572 …Date d0 = finalRules[0].getNextStart(lastTransitionTime, curRule.getRawOffset(), curRule.getDSTSav… in complete() [all …]
|
D | TimeZone.java | 296 offsets[0] = getRawOffset(); in getOffset() 340 abstract public int getRawOffset(); in getRawOffset() method in TimeZone 503 int offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 511 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 541 … int offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in _getDisplayName() 954 getRawOffset() == other.getRawOffset() && in hasSameRules() 1284 public int getRawOffset() { in getRawOffset() method in TimeZone.ConstantZone
|
D | SimpleTimeZone.java | 267 public int getRawOffset() { in getRawOffset() method in SimpleTimeZone 777 offsets[0] = getRawOffset(); in getOffsetFromLocal() 1243 Date stdDate = stdRule.getNextStart(base, dstRule.getRawOffset(), dstRule.getDSTSavings(), in getNextTransition() 1245 Date dstDate = dstRule.getNextStart(base, stdRule.getRawOffset(), stdRule.getDSTSavings(), in getNextTransition() 1270 Date stdDate = stdRule.getPreviousStart(base, dstRule.getRawOffset(), in getPreviousTransition() 1272 Date dstDate = dstRule.getPreviousStart(base, stdRule.getRawOffset(), in getPreviousTransition() 1336 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules() 1340 firstDstStart = dstRule.getFirstStart(getRawOffset(), 0).getTime(); in initTransitionRules() 1362 stdRule = new AnnualTimeZoneRule(getID() + "(STD)", getRawOffset(), 0, in initTransitionRules() 1366 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | basictz.cpp | 80 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions() 81 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions() 91 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions() 92 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions() 114 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions() 115 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions() 121 if (tr1.getTo()->getRawOffset() != tr2.getTo()->getRawOffset() || in hasEquivalentTransitions() 153 initialRaw = tr.getFrom()->getRawOffset(); in getSimpleRulesNear() 183 if (tr.getTo()->getRawOffset() == initialRaw) { in getSimpleRulesNear() 194 … Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), in getSimpleRulesNear() [all …]
|
D | rbtz.cpp | 199 int32_t curStdOffset = curRule->getRawOffset(); in complete() 221 (name == curName && r->getRawOffset() == curRule->getRawOffset() in complete() 302 …UBool avail0 = rule0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete() 303 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… 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() 469 rawOffset = rule->getRawOffset(); in getOffsetInternal() 481 RuleBasedTimeZone::getRawOffset(void) const { in getRawOffset() function in RuleBasedTimeZone 708 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal() 709 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal() [all …]
|
D | simpletz.cpp | 517 rawOffsetGMT = getRawOffset(); in getOffsetFromLocal() 670 SimpleTimeZone::getRawOffset() const in getRawOffset() function in SimpleTimeZone 989 …UBool stdAvail = stdRule->getNextStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), in… in getNextTransition() 990 …UBool dstAvail = dstRule->getNextStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), in… in getNextTransition() 1023 …UBool stdAvail = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings()… in getPreviousTransition() 1024 …UBool dstAvail = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings()… in getPreviousTransition() 1138 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1149 dstRule->getFirstStart(getRawOffset(), 0, firstDstStart); in initTransitionRules() 1176 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1187 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie.java | 297 protected final int getRawOffset(int offset, char ch) in getRawOffset() method in Trie 314 ? getRawOffset(LEAD_INDEX_OFFSET_, ch) in getBMPOffset() 315 : getRawOffset(0, ch); in getBMPOffset() 329 return getRawOffset(0, ch); in getLeadOffset() 347 return getRawOffset(0, (char)ch); in getCodePointOffset()
|
D | TimeZoneAdapter.java | 98 public int getRawOffset() { in getRawOffset() method in TimeZoneAdapter 99 return zone.getRawOffset(); in getRawOffset()
|
D | OlsonTimeZone.java | 180 if (getRawOffset() == offsetMillis) { in setRawOffset() 208 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset() 209 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset() 297 public int getRawOffset() { in getRawOffset() method in OlsonTimeZone 988 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getNextTransition() 1040 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 1095 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules() 1206 finalZone.getRawOffset(), 0, new long[] {startTime}, DateTimeRule.UTC_TIME); in initTransitionRules()
|
D | CharTrie.java | 192 return m_data_[getRawOffset(offset, in getTrailValue() 270 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie.java | 296 protected final int getRawOffset(int offset, char ch) in getRawOffset() method in Trie 313 ? getRawOffset(LEAD_INDEX_OFFSET_, ch) in getBMPOffset() 314 : getRawOffset(0, ch); in getBMPOffset() 328 return getRawOffset(0, ch); in getLeadOffset() 346 return getRawOffset(0, (char)ch); in getCodePointOffset()
|
D | TimeZoneAdapter.java | 97 public int getRawOffset() { in getRawOffset() method in TimeZoneAdapter 98 return zone.getRawOffset(); in getRawOffset()
|
D | OlsonTimeZone.java | 178 if (getRawOffset() == offsetMillis) { in setRawOffset() 206 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset() 207 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset() 295 public int getRawOffset() { in getRawOffset() method in OlsonTimeZone 986 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getNextTransition() 1038 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 1093 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules() 1204 finalZone.getRawOffset(), 0, new long[] {startTime}, DateTimeRule.UTC_TIME); in initTransitionRules()
|
D | CharTrie.java | 191 return m_data_[getRawOffset(offset, in getTrailValue() 269 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 51 …System.out.println(" - Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getF… in nextTransitionExample() 52 …System.out.println(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo(… in nextTransitionExample() 78 …System.out.println(" - Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getF… in previousTransitionExample() 79 …System.out.println(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo(… in previousTransitionExample()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | TimeZoneTest.java | 52 int value = tz.getRawOffset(); in testSetRawOffset() 55 int result = tz.getRawOffset(); in testSetRawOffset() 65 int offset = tz.getRawOffset(); in testGetRawOffset()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 370 offset = rbtz1->getRawOffset(); in TestSimpleRuleBasedTimeZone() 389 if (rbtz0.getRawOffset() != RAW) { in TestSimpleRuleBasedTimeZone() 1554 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1592 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1595 if (trrules[0] == NULL || trrules[0]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1598 if (trrules[1] == NULL || trrules[1]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1672 if (otz->getRawOffset() != vtz->getRawOffset()) { in TestVTimeZoneCoverage() 1699 if (tmpvtz->getRawOffset() != RAW) { in TestVTimeZoneCoverage() 2364 (tzt0.getTo()->getRawOffset() != tzt.getFrom()->getRawOffset() in verifyTransitions() 2398 (tzt0.getFrom()->getRawOffset() != tzt.getTo()->getRawOffset() in verifyTransitions() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | TimeZoneICU.java | 79 public int getRawOffset() { in getRawOffset() method in TimeZoneICU 80 return fIcuTz.getRawOffset(); in getRawOffset()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1155 if (otz.getRawOffset() != vtz.getRawOffset()) { in TestVTimeZoneCoverage() 1174 if (tmpvtz.getRawOffset() != RAW) { in TestVTimeZoneCoverage() 1512 (tzt0.getTo().getRawOffset() != tzt.getFrom().getRawOffset() in verifyTransitions() 1540 (tzt0.getFrom().getRawOffset() != tzt.getTo().getRawOffset() in verifyTransitions() 1750 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 1751 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 1761 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 1762 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 1793 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 1794 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1154 if (otz.getRawOffset() != vtz.getRawOffset()) { in TestVTimeZoneCoverage() 1173 if (tmpvtz.getRawOffset() != RAW) { in TestVTimeZoneCoverage() 1511 (tzt0.getTo().getRawOffset() != tzt.getFrom().getRawOffset() in verifyTransitions() 1539 (tzt0.getFrom().getRawOffset() != tzt.getTo().getRawOffset() in verifyTransitions() 1749 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 1750 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 1760 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 1761 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 1792 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 1793 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() [all …]
|