Home
last modified time | relevance | path

Searched refs:rawOffset (Results 1 – 25 of 46) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZoneRule.java27 private final int rawOffset; field in TimeZoneRule
41 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
43 this.rawOffset = rawOffset; in TimeZoneRule()
66 return rawOffset; in getRawOffset()
92 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
180 buf.append(", stdOffset=" + rawOffset); in toString()
DTimeZone.java821 String region, Integer rawOffset) { in getAvailableIDs() argument
822 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs()
837 public static String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
838 Set<String> ids = getAvailableIDs(SystemTimeZoneType.ANY, null, Integer.valueOf(rawOffset)); in getAvailableIDs()
1332 private int rawOffset; field in TimeZone.ConstantZone
1334 private ConstantZone(int rawOffset, String ID) { in ConstantZone() argument
1336 this.rawOffset = rawOffset; in ConstantZone()
1341 return rawOffset; in getOffset()
1349 rawOffset = offsetMillis; in setRawOffset()
1354 return rawOffset; in getRawOffset()
DInitialTimeZoneRule.java33 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
34 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
DSimpleTimeZone.java64 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() argument
66 construct(rawOffset, 0, 0, 0, in SimpleTimeZone()
131 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
135 construct(rawOffset, in SimpleTimeZone()
178 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
186 construct(rawOffset, in SimpleTimeZone()
224 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
229 construct(rawOffset, in SimpleTimeZone()
DTimeArrayTimeZoneRule.java42 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
43 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZoneRule.java28 private final int rawOffset; field in TimeZoneRule
40 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
42 this.rawOffset = rawOffset; in TimeZoneRule()
61 return rawOffset; in getRawOffset()
83 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
160 buf.append(", stdOffset=" + rawOffset); in toString()
DTimeZone.java753 String region, Integer rawOffset) { in getAvailableIDs() argument
754 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs()
767 public static String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
768 Set<String> ids = getAvailableIDs(SystemTimeZoneType.ANY, null, Integer.valueOf(rawOffset)); in getAvailableIDs()
1239 private int rawOffset; field in TimeZone.ConstantZone
1241 private ConstantZone(int rawOffset, String ID) { in ConstantZone() argument
1243 this.rawOffset = rawOffset; in ConstantZone()
1248 return rawOffset; in getOffset()
1256 rawOffset = offsetMillis; in setRawOffset()
1261 return rawOffset; in getRawOffset()
DInitialTimeZoneRule.java32 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
33 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
DSimpleTimeZone.java61 public SimpleTimeZone(int rawOffset, String ID) { in SimpleTimeZone() argument
63 construct(rawOffset, 0, 0, 0, in SimpleTimeZone()
127 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
131 construct(rawOffset, in SimpleTimeZone()
173 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
181 construct(rawOffset, in SimpleTimeZone()
218 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
223 construct(rawOffset, in SimpleTimeZone()
DTimeArrayTimeZoneRule.java41 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
42 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
DAnnualTimeZoneRule.java49 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument
51 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp120 int32_t rawOffset, dstOffset; in TestGetOffsetAroundTransition() local
224 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
227 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
232 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
245 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
248 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
253 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
266 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
269 } else if (rawOffset != OFFSETS3[m][0] || dstOffset != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition()
274 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_TimeZone.java31 int rawOffset; field in Support_TimeZone
35 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { in Support_TimeZone() argument
36 this.rawOffset = rawOffset; in Support_TimeZone()
42 return rawOffset; in getRawOffset()
80 rawOffset = p1; in setRawOffset()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp101 const RegionRawOffsetV2 &rawOffset = in checkLocation() local
104 if (!rawOffset.getRegion()) in checkLocation()
111 SVal extentBegin = computeExtentBegin(svalBuilder, rawOffset.getRegion()); in checkLocation()
115 svalBuilder.evalBinOpNN(state, BO_LT, rawOffset.getByteOffset(), *NV, in checkLocation()
141 rawOffset.getRegion()->getExtent(svalBuilder); in checkLocation()
146 = svalBuilder.evalBinOpNN(state, BO_GE, rawOffset.getByteOffset(), in checkLocation()
160 if (state->isTainted(rawOffset.getByteOffset())) in checkLocation()
/external/icu/icu4c/source/i18n/
Dtzrule.cpp33 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) in TimeZoneRule() argument
34 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { in TimeZoneRule()
96 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
98 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
182 int32_t rawOffset, in AnnualTimeZoneRule() argument
187 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
192 int32_t rawOffset, in AnnualTimeZoneRule() argument
197 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
401 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
406 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dsimpletz.cpp75 rawOffset(rawOffsetGMT), in SimpleTimeZone()
160 this->rawOffset = rawOffsetGMT; in construct()
208 rawOffset = right.rawOffset; in operator =()
463 int32_t result = rawOffset; in getOffset()
477 startTimeMode == UTC_TIME ? -rawOffset : 0, in getOffset()
492 (endTimeMode == UTC_TIME ? -rawOffset : 0), in getOffset()
670 return rawOffset; in getRawOffset()
678 rawOffset = offsetMillis; in setRawOffset()
749 return rawOffset == that->rawOffset && in hasSameRules()
Dtimezone.cpp453 int32_t rawOffset = 0; in detectHostTimeZone() local
468 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; in detectHostTimeZone()
484 if (hostZone != NULL && rawOffset != hostZone->getRawOffset() in detectHostTimeZone()
496 hostZone = new SimpleTimeZone(rawOffset, hostStrID); in detectHostTimeZone()
672 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument
678 rawOffset = getRawOffset(); in getOffset()
680 date += rawOffset; // now in local standard millis in getOffset()
705 ec) - rawOffset; in getOffset()
791 …on* create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec)… in create() argument
809 if (region != NULL || rawOffset != NULL) { in create()
[all …]
Drbtz.cpp389 int32_t rawOffset, dstOffset; in getOffset() local
391 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); in getOffset()
395 return (rawOffset + dstOffset); in getOffset()
399 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument
401 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset()
406 … int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const { in getOffsetFromLocal() argument
407 …getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal()
417 int32_t& rawOffset, int32_t& dstOffset, in getOffsetInternal() argument
419 rawOffset = 0; in getOffsetInternal()
467 rawOffset = rule->getRawOffset(); in getOffsetInternal()
Dchnsecal.cpp484 int32_t rawOffset, dstOffset; in daysToMillis() local
486 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in daysToMillis()
488 return millis - (double)(rawOffset + dstOffset); in daysToMillis()
501 int32_t rawOffset, dstOffset; in millisToDays() local
503 fZoneAstroCalc->getOffset(millis, FALSE, rawOffset, dstOffset, status); in millisToDays()
505 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); in millisToDays()
Dzrule.cpp69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument
71 return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); in izrule_open()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp131 int32_t rawOffset, dstOffset; in dump() local
136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status); in dump()
143 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
159 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); in dump()
181 rawOffset = newRawOffset; in dump()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h170 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
209 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
400 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
419 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
635 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
Drbtz.h196 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
304 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
319 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;
Dtimezone.h195 const int32_t* rawOffset,
224 static StringEnumeration* U_EXPORT2 createEnumeration(int32_t rawOffset);
528 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java637 public static String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
638 return java.util.TimeZone.getAvailableIDs(rawOffset); in getAvailableIDs()

12