/external/icu/icu4j/main/classes/core/src/com/ibm/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() 249 tzt.getTo().getRawOffset(), tzt.getTo().getDSTSavings()); in getTimeZoneRules() 255 Date d = all[i].getNextStart(start, initial.getRawOffset(), in getTimeZoneRules() 301 Date firstStart = tar.getFirstStart(tzt.getFrom().getRawOffset(), in getTimeZoneRules() [all …]
|
D | RuleBasedTimeZone.java | 135 public int getRawOffset() { in getRawOffset() method in RuleBasedTimeZone 365 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive); in getNextTransition() 367 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive); in getNextTransition() 399 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() 469 if (from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 519 int curStdOffset = curRule.getRawOffset(); in complete() 538 && r.getRawOffset() == curRule.getRawOffset() in complete() 599 …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() 1001 getRawOffset() == other.getRawOffset() && in hasSameRules() 1341 public int getRawOffset() { in getRawOffset() method in TimeZone.ConstantZone
|
D | SimpleTimeZone.java | 275 public int getRawOffset() { in getRawOffset() method in SimpleTimeZone 795 offsets[0] = getRawOffset(); 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() 1296 Date stdDate = stdRule.getPreviousStart(base, dstRule.getRawOffset(), in getPreviousTransition() 1298 Date dstDate = dstRule.getPreviousStart(base, stdRule.getRawOffset(), in getPreviousTransition() 1363 dstRule = new AnnualTimeZoneRule(getID() + "(DST)", getRawOffset(), getDSTSavings(), in initTransitionRules() 1367 firstDstStart = dstRule.getFirstStart(getRawOffset(), 0).getTime(); in initTransitionRules() 1389 stdRule = new AnnualTimeZoneRule(getID() + "(STD)", getRawOffset(), 0, in initTransitionRules() 1393 … firstStdStart = stdRule.getFirstStart(getRawOffset(), dstRule.getDSTSavings()).getTime(); in initTransitionRules() [all …]
|
D | TimeZoneRule.java | 65 public int getRawOffset() { in getRawOffset() method in TimeZoneRule
|
/external/icu/icu4c/source/i18n/ |
D | basictz.cpp | 78 && (tr1.getFrom()->getRawOffset() + tr1.getFrom()->getDSTSavings() in hasEquivalentTransitions() 79 == tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings()) in hasEquivalentTransitions() 89 && (tr2.getFrom()->getRawOffset() + tr2.getFrom()->getDSTSavings() in hasEquivalentTransitions() 90 == tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings()) in hasEquivalentTransitions() 112 if (tr1.getTo()->getRawOffset() + tr1.getTo()->getDSTSavings() in hasEquivalentTransitions() 113 != tr2.getTo()->getRawOffset() + tr2.getTo()->getDSTSavings() in hasEquivalentTransitions() 119 if (tr1.getTo()->getRawOffset() != tr2.getTo()->getRawOffset() || in hasEquivalentTransitions() 151 initialRaw = tr.getFrom()->getRawOffset(); in getSimpleRulesNear() 181 if (tr.getTo()->getRawOffset() == initialRaw) { in getSimpleRulesNear() 192 … Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), in getSimpleRulesNear() [all …]
|
D | rbtz.cpp | 197 int32_t curStdOffset = curRule->getRawOffset(); in complete() 219 (name == curName && r->getRawOffset() == curRule->getRawOffset() in complete() 300 …UBool avail0 = rule0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete() 301 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… 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() 467 rawOffset = rule->getRawOffset(); in getOffsetInternal() 479 RuleBasedTimeZone::getRawOffset(void) const { in getRawOffset() function in RuleBasedTimeZone 706 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal() 707 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal() [all …]
|
D | simpletz.cpp | 515 rawOffsetGMT = getRawOffset(); in getOffsetFromLocal() 668 SimpleTimeZone::getRawOffset() const in getRawOffset() 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 …UBool stdAvail = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings()… in getPreviousTransition() 1022 …UBool dstAvail = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings()… in getPreviousTransition() 1136 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1147 dstRule->getFirstStart(getRawOffset(), 0, firstDstStart); in initTransitionRules() 1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1185 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules() [all …]
|
D | timezone.cpp | 484 if (hostZone != NULL && rawOffset != hostZone->getRawOffset() in detectHostTimeZone() 678 rawOffset = getRawOffset(); in getOffset() 845 int32_t tzoffset = z->getRawOffset(); in create() 1226 offset = daylight ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName() 1239 offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName() 1275 … offset = daylight && useDaylightTime() ? getRawOffset() + getDSTSavings() : getRawOffset(); in getDisplayName() 1489 return (getRawOffset() == other.getRawOffset() && in hasSameRules()
|
D | wintzimpl.cpp | 46 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation() 58 bias = -1 * (std->getRawOffset()/60000); in getSystemTimeInformation()
|
D | zrule.cpp | 51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset() 102 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getRawOffset(); in izrule_getRawOffset()
|
D | olsontz.cpp | 428 int32_t OlsonTimeZone::getRawOffset() const { in getRawOffset() function in OlsonTimeZone 849 finalZone->getRawOffset(), 0, &startTime, 1, DateTimeRule::UTC_TIME); in initTransitionRules() 930 if (fromName == toName && from->getRawOffset() == to->getRawOffset() in getNextTransition() 991 if (fromName == toName && from->getRawOffset() == to->getRawOffset() in getPreviousTransition()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie.java | 291 protected final int getRawOffset(int offset, char ch) in getRawOffset() method in Trie 308 ? getRawOffset(LEAD_INDEX_OFFSET_, ch) in getBMPOffset() 309 : getRawOffset(0, ch); in getBMPOffset() 323 return getRawOffset(0, ch); in getLeadOffset() 341 return getRawOffset(0, (char)ch); in getCodePointOffset()
|
D | TimeZoneAdapter.java | 91 public int getRawOffset() { in getRawOffset() method in TimeZoneAdapter 92 return zone.getRawOffset(); in getRawOffset()
|
D | OlsonTimeZone.java | 176 if (getRawOffset() == offsetMillis) { in setRawOffset() 204 int offset1 = r1.getRawOffset() + r1.getDSTSavings(); in setRawOffset() 205 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset() 293 public int getRawOffset() { in getRawOffset() method in OlsonTimeZone 984 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getNextTransition() 1036 if (from.getName().equals(to.getName()) && from.getRawOffset() == to.getRawOffset() in getPreviousTransition() 1091 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules() 1202 finalZone.getRawOffset(), 0, new long[] {startTime}, DateTimeRule.UTC_TIME); in initTransitionRules()
|
D | CharTrie.java | 189 return m_data_[getRawOffset(offset, in getTrailValue() 266 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
D | IntTrie.java | 195 return m_data_[getRawOffset(offset, in getTrailValue() 275 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
D | JavaTimeZone.java | 160 public int getRawOffset() { in getRawOffset() method in JavaTimeZone 161 return javatz.getRawOffset(); in getRawOffset()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 368 offset = rbtz1->getRawOffset(); in TestSimpleRuleBasedTimeZone() 387 if (rbtz0.getRawOffset() != RAW) { in TestSimpleRuleBasedTimeZone() 1552 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1590 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1593 if (trrules[0] == NULL || trrules[0]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1596 if (trrules[1] == NULL || trrules[1]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1670 if (otz->getRawOffset() != vtz->getRawOffset()) { in TestVTimeZoneCoverage() 1697 if (tmpvtz->getRawOffset() != RAW) { in TestVTimeZoneCoverage() 2362 (tzt0.getTo()->getRawOffset() != tzt.getFrom()->getRawOffset() in verifyTransitions() 2396 (tzt0.getFrom()->getRawOffset() != tzt.getTo()->getRawOffset() in verifyTransitions() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | TimeZoneICU.java | 77 public int getRawOffset() { in getRawOffset() method in TimeZoneICU 78 return fIcuTz.getRawOffset(); in getRawOffset()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1141 if (otz.getRawOffset() != vtz.getRawOffset()) { in TestVTimeZoneCoverage() 1160 if (tmpvtz.getRawOffset() != RAW) { in TestVTimeZoneCoverage() 1494 (tzt0.getTo().getRawOffset() != tzt.getFrom().getRawOffset() in verifyTransitions() 1522 (tzt0.getFrom().getRawOffset() != tzt.getTo().getRawOffset() in verifyTransitions() 1732 && (tr1.getFrom().getRawOffset() + tr1.getFrom().getDSTSavings() in hasEquivalentTransitions() 1733 == tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings()) in hasEquivalentTransitions() 1743 && (tr2.getFrom().getRawOffset() + tr2.getFrom().getDSTSavings() in hasEquivalentTransitions() 1744 == tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings()) in hasEquivalentTransitions() 1775 if (tr1.getTo().getRawOffset() + tr1.getTo().getDSTSavings() in hasEquivalentTransitions() 1776 != tr2.getTo().getRawOffset() + tr2.getTo().getDSTSavings() in hasEquivalentTransitions() [all …]
|
D | TimeZoneTest.java | 216 this.offset = zone.getRawOffset() / 60000; in ZoneDescriptor() 299 int gotOffset = zone.getRawOffset()/1000; in TestCustomParse() 672 if (tz.getRawOffset() != (-4*millisPerHour)) in TestPRTOffset() 674 tz.getRawOffset() / (double)millisPerHour); in TestPRTOffset() 695 if (time_zone.getRawOffset() != -8*millisPerHour) in TestVariousAPI518() 830 if (tz.getRawOffset() != -5 * HOUR) { in TestGetAvailableIDsNew() 868 if (tz.getRawOffset() != -5 * millisPerHour) in TestDSTSavings() 869 errln("Got back a raw offset of " + (tz.getRawOffset() / millisPerHour) + in TestDSTSavings() 1318 long fro = ftz.getRawOffset(); in TestOddTimeZoneNames() 1323 long cro = ctz.getRawOffset(); in TestOddTimeZoneNames() [all …]
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | AndroidMockTest.java | 188 AndroidMock.expect(mockTimeZone.getRawOffset()).andReturn(42); in testCreateMockUsingParameters() 190 assertEquals(42, mockTimeZone.getRawOffset()); in testCreateMockUsingParameters() 216 AndroidMock.expect(mockTimeZone.getRawOffset()).andReturn(42); in testCreateMockUsingCastableParameters() 218 assertEquals(42, mockTimeZone.getRawOffset()); in testCreateMockUsingCastableParameters() 316 AndroidMock.expect(mockTimeZone.getRawOffset()).andReturn(42); in testCreateNiceMockUsingParameters() 318 assertEquals(42, mockTimeZone.getRawOffset()); in testCreateNiceMockUsingParameters() 329 AndroidMock.expect(mockTimeZone.getRawOffset()).andReturn(42); in testCreateNiceMockUsingCastableParameters() 331 assertEquals(42, mockTimeZone.getRawOffset()); in testCreateNiceMockUsingCastableParameters() 408 AndroidMock.expect(mockTimeZone.getRawOffset()).andReturn(42); in testCreateStrictMockUsingParameters() 410 assertEquals(42, mockTimeZone.getRawOffset()); in testCreateStrictMockUsingParameters() [all …]
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 41 public int getRawOffset() { in getRawOffset() method in Support_TimeZone
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | TimeZoneJDK.java | 155 public int getRawOffset() { in getRawOffset() method in TimeZoneJDK 156 return fJdkTz.getRawOffset(); in getRawOffset()
|