Home
last modified time | relevance | path

Searched refs:getRawOffset (Results 1 – 25 of 31) sorted by relevance

12

/external/icu4c/i18n/
Dbasictz.cpp78 && (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 …]
Drbtz.cpp181 int32_t curStdOffset = curRule->getRawOffset(); in complete()
203 (name == curName && r->getRawOffset() == curRule->getRawOffset() in complete()
284 …UBool avail0 = rule0->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete()
285 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete()
306 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete()
313 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete()
449 rawOffset = rule->getRawOffset(); in getOffsetInternal()
461 RuleBasedTimeZone::getRawOffset(void) const { in getRawOffset() function in RuleBasedTimeZone
688 localDelta = getLocalDelta(fr1->getRawOffset(), fr1->getDSTSavings(), in findRuleInFinal()
689 fr0->getRawOffset(), fr0->getDSTSavings(), in findRuleInFinal()
[all …]
Dsimpletz.cpp514 rawOffsetGMT = getRawOffset(); in getOffsetFromLocal()
667 SimpleTimeZone::getRawOffset() const in getRawOffset() function in SimpleTimeZone
986 …UBool stdAvail = stdRule->getNextStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings(), in… in getNextTransition()
987 …UBool dstAvail = dstRule->getNextStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings(), in… in getNextTransition()
1020 …UBool stdAvail = stdRule->getPreviousStart(base, dstRule->getRawOffset(), dstRule->getDSTSavings()… in getPreviousTransition()
1021 …UBool dstAvail = dstRule->getPreviousStart(base, stdRule->getRawOffset(), stdRule->getDSTSavings()… in getPreviousTransition()
1106 dstRule = new AnnualTimeZoneRule(tzid+DST_STR, getRawOffset(), getDSTSavings(), in initTransitionRules()
1117 dstRule->getFirstStart(getRawOffset(), 0, firstDstStart); in initTransitionRules()
1144 stdRule = new AnnualTimeZoneRule(tzid+STD_STR, getRawOffset(), 0, in initTransitionRules()
1155 stdRule->getFirstStart(getRawOffset(), dstRule->getDSTSavings(), firstStdStart); in initTransitionRules()
[all …]
Dzrule.cpp51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset()
102 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getRawOffset(); in izrule_getRawOffset()
Dwintzimpl.cpp46 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation()
58 bias = -1 * (std->getRawOffset()/60000); in getSystemTimeInformation()
Dolsontz.cpp427 int32_t OlsonTimeZone::getRawOffset() const { in getRawOffset() function in OlsonTimeZone
832 finalZone->getRawOffset(), 0, &startTime, 1, DateTimeRule::UTC_TIME); in initTransitionRules()
914 if (fromName == toName && from->getRawOffset() == to->getRawOffset() in getNextTransition()
975 if (fromName == toName && from->getRawOffset() == to->getRawOffset() in getPreviousTransition()
Dvtzone.cpp1202 VTimeZone::getRawOffset(void) const { in getRawOffset() function in VTimeZone
1203 return tz->getRawOffset(); in getRawOffset()
1621 int32_t tmpRaw = finalRule->getRawOffset(); in parse()
1637 r->getRawOffset(), in parse()
1650 finalRule->getRawOffset(), in parse()
1661 finalRule->getRawOffset(), in parse()
1950 int32_t fromOffset = tzt.getFrom()->getRawOffset() + tzt.getFrom()->getDSTSavings(); in writeZone()
1952 int32_t toOffset = tzt.getTo()->getRawOffset() + tzt.getTo()->getDSTSavings(); in writeZone()
2491 int32_t toOffset = rule->getRawOffset() + rule->getDSTSavings(); in writeFinalRule()
Dtimezone.cpp502 if (default_zone != NULL && rawOffset != default_zone->getRawOffset() in initDefault()
595 rawOffset = getRawOffset(); in getOffset()
862 int32_t tzoffset = z->getRawOffset(); in create()
1533 return (getRawOffset() == other.getRawOffset() && in hasSameRules()
Dolsontz.h203 virtual int32_t getRawOffset() const;
Dvzone.cpp142 return ((VTimeZone*)zone)->VTimeZone::getRawOffset(); in vzone_getRawOffset()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DSimpleTimeZoneTest.java41 .getRawOffset() == 1000); in test_ConstructorILjava_lang_String()
63 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset()); in test_ConstructorILjava_lang_StringIIIIIIII()
84 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset()); in test_ConstructorILjava_lang_StringIIIIIIIII()
217 st1.getRawOffset() == -(5 * 60 * 60 * 1000)); in test_getRawOffset()
366 int off = st1.getRawOffset(); in test_setRawOffsetI()
368 boolean val = st1.getRawOffset() == 1000; in test_setRawOffsetI()
DTimeZoneTest.java218 int rawoffset = tz.getRawOffset(); in test_getAvailableIDs_I()
257 int offset = tz.getRawOffset(); in test_hasSameRules_Ljava_util_TimeZone()
/external/icu4c/test/intltest/
Dtzrulets.cpp369 offset = rbtz1->getRawOffset(); in TestSimpleRuleBasedTimeZone()
388 if (rbtz0.getRawOffset() != RAW) { in TestSimpleRuleBasedTimeZone()
1553 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage()
1591 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage()
1594 if (trrules[0] == NULL || trrules[0]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage()
1597 if (trrules[1] == NULL || trrules[1]->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage()
1671 if (otz->getRawOffset() != vtz->getRawOffset()) { in TestVTimeZoneCoverage()
1698 if (tmpvtz->getRawOffset() != RAW) { in TestVTimeZoneCoverage()
2363 (tzt0.getTo()->getRawOffset() != tzt.getFrom()->getRawOffset() in verifyTransitions()
2397 (tzt0.getFrom()->getRawOffset() != tzt.getTo()->getRawOffset() in verifyTransitions()
[all …]
Dtztest.cpp313 double foundOffset = tz->getRawOffset(); in TestPRTOffset()
340 …if (time_zone->getRawOffset() != - 8 * millisPerHour) dataerrln("FAIL: getRawOffset returned wrong… in TestVariousAPI518()
691 if (tz->getRawOffset() != (-5)*60*60*1000) { in TestGetAvailableIDsNew()
954 int32_t offsetInMinutes = tz->getRawOffset()/60000; in TestShortZoneIDs()
1198 int32_t ioffset = zone->getRawOffset()/1000; in TestCustomParse()
1581 if (tz->getRawOffset() != -5 * U_MILLIS_PER_HOUR) in TestDSTSavings()
1582 … errln(UnicodeString("Got back a raw offset of ") + (tz->getRawOffset() / U_MILLIS_PER_HOUR) + in TestDSTSavings()
Dtzbdtest.cpp204 if (time_zone->getRawOffset() == expZoneOffset) in verifyDST()
207 …dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; … in verifyDST()
Dtzfmttst.cpp355 … int32_t fromOffset = tzt.getFrom()->getRawOffset() + tzt.getFrom()->getDSTSavings(); in run()
356 … int32_t toOffset = tzt.getTo()->getRawOffset() + tzt.getTo()->getDSTSavings(); in run()
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidMockTest.java188 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/
DSupport_TimeZone.java42 public int getRawOffset() { in getRawOffset() method in Support_TimeZone
/external/jsilver/src/org/clearsilver/jni/
DJniHdf.java252 boolean tzNegative = timeZone.getRawOffset() < 0; in exportDate()
253 int tzAbsolute = java.lang.Math.abs(timeZone.getRawOffset()/1000); in exportDate()
/external/icu4c/i18n/unicode/
Drbtz.h215 virtual int32_t getRawOffset(void) const;
Dtimezone.h441 virtual int32_t getRawOffset(void) const = 0;
Dvtzone.h279 virtual int32_t getRawOffset(void) const;
Dtzrule.h79 int32_t getRawOffset(void) const;
Dsimpletz.h633 virtual int32_t getRawOffset(void) const;
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DDERGeneralizedTime.java173 int offset = timeZone.getRawOffset(); in calculateGMTOffset()

12