/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BasicTimeZone.java | 146 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 147 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 157 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 158 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 190 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 191 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() 197 if (tr1.getTo().getRawOffset() != tr2.getTo().getRawOffset() || in hasEquivalentTransitions() 246 tzt.getTo().getRawOffset(), tzt.getTo().getDSTSavings()); in getTimeZoneRules() 252 Date d = all[i].getNextStart(start, initial.getRawOffset(), in getTimeZoneRules() 298 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 | 292 offsets[0] = getRawOffset(); in getOffset() 336 abstract public int getRawOffset(); in getRawOffset() method in TimeZone 499 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() 955 getRawOffset() == other.getRawOffset() && in hasSameRules() 1287 public int getRawOffset() { in getRawOffset() method in TimeZone.ConstantZone
|
D | SimpleTimeZone.java | 267 public int getRawOffset() { in getRawOffset() method in SimpleTimeZone 779 offsets[0] = getRawOffset(); 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() 1273 Date stdDate = stdRule.getPreviousStart(base, dstRule.getRawOffset(), in getPreviousTransition() 1275 Date dstDate = dstRule.getPreviousStart(base, stdRule.getRawOffset(), in getPreviousTransition() 1339 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules() 1343 firstDstStart = dstRule.getFirstStart(getRawOffset(), 0).getTime(); in initTransitionRules() 1365 stdRule = new AnnualTimeZoneRule(getID() + "(STD)", getRawOffset(), 0, in initTransitionRules() 1369 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules() [all …]
|
/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 | 346 offsets[0] = getRawOffset(); in getOffset() 392 abstract public int getRawOffset(); in getRawOffset() method in TimeZone 563 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() 1037 getRawOffset() == other.getRawOffset() && in hasSameRules() 1385 public int getRawOffset() { in getRawOffset() method in TimeZone.ConstantZone
|
D | SimpleTimeZone.java | 277 public int getRawOffset() { in getRawOffset() method in SimpleTimeZone 800 offsets[0] = getRawOffset(); 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() 1303 Date stdDate = stdRule.getPreviousStart(base, dstRule.getRawOffset(), in getPreviousTransition() 1305 Date dstDate = dstRule.getPreviousStart(base, stdRule.getRawOffset(), in getPreviousTransition() 1370 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules() 1374 firstDstStart = dstRule.getFirstStart(getRawOffset(), 0).getTime(); in initTransitionRules() 1396 stdRule = new AnnualTimeZoneRule(getID() + "(STD)", getRawOffset(), 0, in initTransitionRules() 1400 … 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 | 518 rawOffsetGMT = getRawOffset(); in getOffsetFromLocal() 671 SimpleTimeZone::getRawOffset() const in getRawOffset() 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 …UBool stdAvail = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings()… in getPreviousTransition() 1025 …UBool dstAvail = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings()… in getPreviousTransition() 1139 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1150 dstRule->getFirstStart(getRawOffset(), 0, firstDstStart); in initTransitionRules() 1177 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1188 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | PrintTransitions.java | 50 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/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 983 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getNextTransition() 1035 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 1090 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules() 1201 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/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie.java | 298 protected final int getRawOffset(int offset, char ch) in getRawOffset() method in Trie 315 ? getRawOffset(LEAD_INDEX_OFFSET_, ch) in getBMPOffset() 316 : getRawOffset(0, ch); in getBMPOffset() 330 return getRawOffset(0, ch); in getLeadOffset() 348 return getRawOffset(0, (char)ch); in getCodePointOffset()
|
D | TimeZoneAdapter.java | 100 public int getRawOffset() { in getRawOffset() method in TimeZoneAdapter 101 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 985 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getNextTransition() 1037 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 1092 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules() 1203 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/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 | 371 offset = rbtz1->getRawOffset(); in TestSimpleRuleBasedTimeZone() 390 if (rbtz0.getRawOffset() != RAW) { in TestSimpleRuleBasedTimeZone() 1555 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1593 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1596 if (trrules[0] == NULL || trrules[0]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1599 if (trrules[1] == NULL || trrules[1]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1673 if (otz->getRawOffset() != vtz->getRawOffset()) { in TestVTimeZoneCoverage() 1700 if (tmpvtz->getRawOffset() != RAW) { in TestVTimeZoneCoverage() 2365 (tzt0.getTo()->getRawOffset() != tzt.getFrom()->getRawOffset() in verifyTransitions() 2399 (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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1157 if (otz.getRawOffset() != vtz.getRawOffset()) { in TestVTimeZoneCoverage() 1176 if (tmpvtz.getRawOffset() != RAW) { in TestVTimeZoneCoverage() 1514 (tzt0.getTo().getRawOffset() != tzt.getFrom().getRawOffset() in verifyTransitions() 1542 (tzt0.getFrom().getRawOffset() != tzt.getTo().getRawOffset() in verifyTransitions() 1752 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 1753 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 1763 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 1764 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 1795 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 1796 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() [all …]
|