/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TimeZone.java | 32 int rawOffset; 36 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { 37 this.rawOffset = rawOffset; 43 return rawOffset; 81 rawOffset = p1;
|
/external/icu4c/test/intltest/ |
tzoffloc.cpp | 78 // Expected offsets by void getOffset(UDate date, UBool local, int32_t& rawOffset, 81 // int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) with 100 // int32_t duplicatedTimeOpt, int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) with 120 int32_t rawOffset, dstOffset; 155 -8*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, 166 -8*HOUR /* rawOffset */, 0 /* dstSavings */, dtr, 219 // Test getOffset(UDate date, UBool local, int32_t& rawOffset, 224 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); 227 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { 232 + rawOffset + "/" + dstOffse [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
City.java | 41 private int rawOffset; 61 // int rawOffset = dis.readInt(); 68 int rawOffset = 87 City city = new City(name, tzid, rawOffset, 171 int rawOffset, 176 this.rawOffset = rawOffset; 216 return rawOffset / 3600000.0f; 220 return rawOffset;
|
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 43 private int rawOffset; 91 rawOffset = offset; 100 * use {@code SimpleTimeZone(rawOffset, ID)}. 284 * Returns a new {@code SimpleTimeZone} with the same ID, {@code rawOffset} and daylight 314 && rawOffset == tz.rawOffset 345 return rawOffset; 349 return rawOffset; 353 return rawOffset; 395 return rawOffset; [all...] |
/external/icu4c/i18n/ |
tzrule.cpp | 33 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) 34 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { 96 int32_t rawOffset, 98 : TimeZoneRule(name, rawOffset, dstSavings) { 182 int32_t rawOffset, 187 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), 192 int32_t rawOffset, 197 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), 401 int32_t rawOffset, 406 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType) [all...] |
zrule.cpp | 69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { 71 return (IZRule*) new InitialTimeZoneRule(name, rawOffset, dstSavings);
|
rbtz.cpp | 373 int32_t rawOffset, dstOffset; 375 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); 379 return (rawOffset + dstOffset); 383 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 385 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 390 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/ { 391 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 401 int32_t& rawOffset, int32_t& dstOffset, 403 rawOffset = 0; 449 rawOffset = rule->getRawOffset() [all...] |
timezone.cpp | 469 int32_t rawOffset = 0; 497 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; 521 if (default_zone != NULL && rawOffset != default_zone->getRawOffset() 533 default_zone = new SimpleTimeZone(rawOffset, hostStrID); 608 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 614 rawOffset = getRawOffset(); 616 date += rawOffset; // now in local standard millis 641 ec) - rawOffset; 691 TZEnumeration(int32_t rawOffset) : map(NULL), len(0), pos(0) { 713 z->getRawOffset() == rawOffset) { [all...] |
vzone.cpp | 130 vzone_getOffset3(VZone* zone, UDate date, UBool local, int32_t& rawOffset, 132 return ((VTimeZone*)zone)->VTimeZone::getOffset(date, local, rawOffset, dstOffset, ec);
|
vtzone.cpp | 524 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings, UDate start, 717 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); 727 static TimeZoneRule* createRuleByRDATE(const UnicodeString& zonename, int32_t rawOffset, int32_t dstSavings, 736 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, 754 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, 804 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings) { 810 wallt += (rawOffset + dstSavings); [all...] |
vzone.h | 232 * in time. Upon return, local-millis = GMT-millis + rawOffset + 243 * @param rawOffset output parameter to receive the raw offset, that 246 * that is, the offset to be added to `rawOffset' to obtain the 254 vzone_getOffset3(VZone* zone, UDate date, UBool local, int32_t& rawOffset,
|
simpletz.cpp | 74 rawOffset(rawOffsetGMT), 159 this->rawOffset = rawOffsetGMT; 207 rawOffset = right.rawOffset; 462 int32_t result = rawOffset; 476 startTimeMode == UTC_TIME ? -rawOffset : 0, 491 (endTimeMode == UTC_TIME ? -rawOffset : 0), 669 return rawOffset; 677 rawOffset = offsetMillis; 748 return rawOffset == that->rawOffset & [all...] |
zrule.h | 121 * @param rawOffset The UTC offset of its standard time in milliseconds. 127 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
|
/external/icu4c/i18n/unicode/ |
basictz.h | 73 * For example, a transition from rawoffset 3:00/dstsavings 1:00 74 * to rawoffset 2:00/dstsavings 2:00 is excluded from the comparison, 75 * but a transtion from rawoffset 2:00/dstsavings 1:00 to 76 * rawoffset 3:00/dstsavings 0:00 is included. 160 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/;
|
rbtz.h | 176 * in time. Upon return, local-millis = GMT-millis + rawOffset + 186 * @param rawOffset output parameter to receive the raw offset, that 189 * that is, the offset to be added to `rawOffset' to obtain the 196 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;
|
tzrule.h | 165 * @param rawOffset The UTC offset of its standard time in milliseconds. 170 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings); 204 * @param rawOffset The UTC offset of its standard time in milliseconds. 209 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings); 390 * @param rawOffset The GMT offset of its standard time in milliseconds. 400 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings, 409 * @param rawOffset The GMT offset of its standard time in milliseconds. 419 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings, 623 * @param rawOffset The UTC offset of its standard time in milliseconds. 635 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings [all...] |
timezone.h | 170 * @param rawOffset an offset from GMT in milliseconds, ignoring 175 static StringEnumeration* U_EXPORT2 createEnumeration(int32_t rawOffset); 378 * in time. Upon return, local-millis = GMT-millis + rawOffset + 388 * @param rawOffset output parameter to receive the raw offset, that 391 * that is, the offset to be added to `rawOffset' to obtain the 399 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
|
vtzone.h | 240 * in time. Upon return, local-millis = GMT-millis + rawOffset + 250 * @param rawOffset output parameter to receive the raw offset, that 253 * that is, the offset to be added to `rawOffset' to obtain the 260 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
|
simpletz.h | 129 * SimpleTimeZone(rawOffset, ID) instead. Normally, you should use 170 * SimpleTimeZone(rawOffset, ID) instead. Normally, you should use 214 * SimpleTimeZone(rawOffset, ID) instead. Normally, you should use 616 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundCheckerV2.cpp | 99 const RegionRawOffsetV2 &rawOffset = 102 if (!rawOffset.getRegion()) 109 SVal extentBegin = computeExtentBegin(svalBuilder, rawOffset.getRegion()); 113 = svalBuilder.evalBinOpNN(state, BO_LT, rawOffset.getByteOffset(), 140 rawOffset.getRegion()->getExtent(svalBuilder); 145 = svalBuilder.evalBinOpNN(state, BO_GE, rawOffset.getByteOffset(),
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 131 int32_t rawOffset, dstOffset; 136 timezone->getOffset(t, FALSE, rawOffset, dstOffset, status); 143 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); 159 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); 170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); 181 rawOffset = newRawOffset;
|
tz2icu.cpp | 136 int64_t rawoffset; // raw seconds offset from GMT member in struct:ZoneType 148 ZoneType() : rawoffset(-1), dstoffset(-1), abbr(-1) {} 152 return rawoffset == other.rawoffset && 403 type.rawoffset = readcoded(file); 428 // Initial type's rawoffset is same with the rawoffset after the 430 int64_t rawoffset0 = (info.types.at(info.transitions.at(0).type)).rawoffset; 433 if (info.types.at(i).rawoffset == rawoffset0 1206 int64_t rawoffset; member in struct:SimplifiedZoneType [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 218 int rawoffset = tz.getRawOffset(); local 219 String[] ids = TimeZone.getAvailableIDs(rawoffset); 221 assertTrue("Asia/shanghai and Hongkong should have the same rawoffset",
|
/libcore/luni/src/main/native/ |
libcore_icu_TimeZones.cpp | 153 int32_t rawOffset; 154 row.tz->getOffset(date1, false, rawOffset, daylightOffset, status);
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 236 public static String[] getAvailableIDs(int rawOffset) { 239 if (rawUtcOffsets[i] == rawOffset) {
|