/libcore/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/chromium/third_party/icu/source/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...] |
/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...] |
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 59 private int rawOffset; 113 rawOffset = offset; 132 * use {@code SimpleTimeZone(rawOffset, ID)}. 260 // rawOffset = offset; 334 * Returns a new {@code SimpleTimeZone} with the same ID, {@code rawOffset} and daylight 364 && rawOffset == tz.rawOffset 397 return rawOffset; 401 return rawOffset; 405 return rawOffset; [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;
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
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...] |
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;
|
timezone.h | 170 * @param rawOffset an offset from GMT in milliseconds, ignoring 175 static StringEnumeration* U_EXPORT2 createEnumeration(int32_t rawOffset); 205 * @param rawOffset An offset from GMT in milliseconds. 213 static const UnicodeString** createAvailableIDs(int32_t rawOffset, int32_t& numIDs); 444 * in time. Upon return, local-millis = GMT-millis + rawOffset + 454 * @param rawOffset output parameter to receive the raw offset, that 457 * that is, the offset to be added to `rawOffset' to obtain the 465 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, [all...] |
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*/;
|
/external/icu4c/i18n/unicode/ |
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...] |
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;
|
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*/;
|
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,
|
/external/chromium/third_party/icu/source/i18n/ |
olsontz.h | 181 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 293 int32_t rawOffset(int16_t index) const; 368 OlsonTimeZone::rawOffset(int16_t index) const {
|
tzrule.cpp | 31 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) 32 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { 94 int32_t rawOffset, 96 : TimeZoneRule(name, rawOffset, dstSavings) { 181 int32_t rawOffset, 186 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), 191 int32_t rawOffset, 196 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), 401 int32_t rawOffset, 406 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType) [all...] |
timezone.cpp | 529 int32_t rawOffset = 0; 557 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; 579 if (default_zone != NULL && rawOffset != default_zone->getRawOffset() 591 default_zone = new SimpleTimeZone(rawOffset, hostStrID); 666 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 672 rawOffset = getRawOffset(); 674 date += rawOffset; // now in local standard millis 699 ec) - rawOffset; 749 TZEnumeration(int32_t rawOffset) : map(NULL), len(0), pos(0) { 771 z->getRawOffset() == rawOffset) { [all...] |
simpletz.cpp | 72 rawOffset(rawOffsetGMT), 157 this->rawOffset = rawOffsetGMT; 205 rawOffset = right.rawOffset; 460 int32_t result = rawOffset; 474 startTimeMode == UTC_TIME ? -rawOffset : 0, 489 (endTimeMode == UTC_TIME ? -rawOffset : 0), 667 return rawOffset; 675 rawOffset = offsetMillis; 746 return rawOffset == that->rawOffset & [all...] |
rbtz.cpp | 371 int32_t rawOffset, dstOffset; 373 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); 377 return (rawOffset + dstOffset); 381 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 383 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 388 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/ { 389 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 399 int32_t& rawOffset, int32_t& dstOffset, 401 rawOffset = 0; 447 rawOffset = rule->getRawOffset() [all...] |
/external/chromium/third_party/icu/source/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;
|
/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;
|
/external/icu4c/i18n/ |
tzrule.cpp | 31 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) 32 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { 94 int32_t rawOffset, 96 : TimeZoneRule(name, rawOffset, dstSavings) { 181 int32_t rawOffset, 186 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), 191 int32_t rawOffset, 196 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), 401 int32_t rawOffset, 406 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType) [all...] |
zrule.cpp | 67 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { 69 return (IZRule*) new InitialTimeZoneRule(name, rawOffset, dstSavings);
|
timezone.cpp | 467 int32_t rawOffset = 0; 495 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; 519 if (default_zone != NULL && rawOffset != default_zone->getRawOffset() 531 default_zone = new SimpleTimeZone(rawOffset, hostStrID); 606 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 612 rawOffset = getRawOffset(); 614 date += rawOffset; // now in local standard millis 639 ec) - rawOffset; 689 TZEnumeration(int32_t rawOffset) : map(NULL), len(0), pos(0) { 711 z->getRawOffset() == rawOffset) { [all...] |
simpletz.cpp | 72 rawOffset(rawOffsetGMT), 157 this->rawOffset = rawOffsetGMT; 205 rawOffset = right.rawOffset; 460 int32_t result = rawOffset; 474 startTimeMode == UTC_TIME ? -rawOffset : 0, 489 (endTimeMode == UTC_TIME ? -rawOffset : 0), 667 return rawOffset; 675 rawOffset = offsetMillis; 746 return rawOffset == that->rawOffset & [all...] |
rbtz.cpp | 371 int32_t rawOffset, dstOffset; 373 getOffsetInternal(time, TRUE, kDaylight, kStandard, rawOffset, dstOffset, status); 377 return (rawOffset + dstOffset); 381 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 383 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 388 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) /*const*/ { 389 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 399 int32_t& rawOffset, int32_t& dstOffset, 401 rawOffset = 0; 447 rawOffset = rule->getRawOffset() [all...] |