Home
last modified time | relevance | path

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

1234

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZoneRule.java29 private final int rawOffset; field in TimeZoneRule
43 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
45 this.rawOffset = rawOffset; in TimeZoneRule()
68 return rawOffset; in getRawOffset()
94 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
183 buf.append(", stdOffset=" + rawOffset); in toString()
DTimeZone.java823 String region, Integer rawOffset) { in getAvailableIDs() argument
824 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs()
839 public static String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
840 Set<String> ids = getAvailableIDs(SystemTimeZoneType.ANY, null, Integer.valueOf(rawOffset)); in getAvailableIDs()
1395 private int rawOffset; field in TimeZone.ConstantZone
1397 private ConstantZone(int rawOffset, String ID) { in ConstantZone() argument
1399 this.rawOffset = rawOffset; in ConstantZone()
1404 return rawOffset; in getOffset()
1412 rawOffset = offsetMillis; in setRawOffset()
1417 return rawOffset; in getRawOffset()
DInitialTimeZoneRule.java35 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
36 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DTimeZoneRule.java30 private final int rawOffset; field in TimeZoneRule
42 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
44 this.rawOffset = rawOffset; in TimeZoneRule()
63 return rawOffset; in getRawOffset()
85 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
163 buf.append(", stdOffset=" + rawOffset); in toString()
DTimeZone.java779 String region, Integer rawOffset) { in getAvailableIDs() argument
780 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs()
793 public static String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
794 Set<String> ids = getAvailableIDs(SystemTimeZoneType.ANY, null, Integer.valueOf(rawOffset)); in getAvailableIDs()
1294 private int rawOffset; field in TimeZone.ConstantZone
1296 private ConstantZone(int rawOffset, String ID) { in ConstantZone() argument
1298 this.rawOffset = rawOffset; in ConstantZone()
1303 return rawOffset; in getOffset()
1311 rawOffset = offsetMillis; in setRawOffset()
1316 return rawOffset; in getRawOffset()
DInitialTimeZoneRule.java34 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
35 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
/third_party/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp122 int32_t rawOffset, dstOffset; in TestGetOffsetAroundTransition() local
226 TESTZONES[i]->getOffset(MILLIS[m], true, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
229 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
234 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
247 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
250 } else if (rawOffset != OFFSETS2[m][0] || dstOffset != OFFSETS2[m][1]) { in TestGetOffsetAroundTransition()
255 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
268 rawOffset, dstOffset, status); in TestGetOffsetAroundTransition()
271 } else if (rawOffset != OFFSETS3[m][0] || dstOffset != OFFSETS3[m][1]) { in TestGetOffsetAroundTransition()
276 + rawOffset + "/" + dstOffset in TestGetOffsetAroundTransition()
[all …]
/third_party/icu/icu4c/source/i18n/
Dtzrule.cpp35 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) in TimeZoneRule() argument
36 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { in TimeZoneRule()
98 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
100 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
184 int32_t rawOffset, in AnnualTimeZoneRule() argument
189 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
194 int32_t rawOffset, in AnnualTimeZoneRule() argument
199 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
403 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
408 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dtimezone.cpp461 int32_t rawOffset = 0; in detectHostTimeZone() local
478 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; in detectHostTimeZone()
499 if (hostZone != NULL && rawOffset != hostZone->getRawOffset() in detectHostTimeZone()
511 hostZone = new SimpleTimeZone(rawOffset, hostStrID); in detectHostTimeZone()
708 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument
714 rawOffset = getRawOffset(); in getOffset()
716 date += rawOffset; // now in local standard millis in getOffset()
740 ec) - rawOffset; in getOffset()
825 …on* create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec)… in create() argument
843 if (region != NULL || rawOffset != NULL) { in create()
[all …]
Dsimpletz.cpp78 rawOffset(rawOffsetGMT), in SimpleTimeZone()
163 this->rawOffset = rawOffsetGMT; in construct()
211 rawOffset = right.rawOffset; in operator =()
466 int32_t result = rawOffset; in getOffset()
480 startTimeMode == UTC_TIME ? -rawOffset : 0, in getOffset()
495 (endTimeMode == UTC_TIME ? -rawOffset : 0), in getOffset()
673 return rawOffset; in getRawOffset()
681 rawOffset = offsetMillis; in setRawOffset()
752 return rawOffset == that->rawOffset && in hasSameRules()
/third_party/node/deps/icu-small/source/i18n/
Dtzrule.cpp35 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) in TimeZoneRule() argument
36 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { in TimeZoneRule()
98 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
100 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
184 int32_t rawOffset, in AnnualTimeZoneRule() argument
189 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
194 int32_t rawOffset, in AnnualTimeZoneRule() argument
199 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
403 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
408 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dtimezone.cpp461 int32_t rawOffset = 0; in detectHostTimeZone() local
478 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; in detectHostTimeZone()
499 if (hostZone != nullptr && rawOffset != hostZone->getRawOffset() in detectHostTimeZone()
511 hostZone = new SimpleTimeZone(rawOffset, hostStrID); in detectHostTimeZone()
708 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument
714 rawOffset = getRawOffset(); in getOffset()
716 date += rawOffset; // now in local standard millis in getOffset()
740 ec) - rawOffset; in getOffset()
825 …on* create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec)… in create() argument
843 if (region != nullptr || rawOffset != nullptr) { in create()
[all …]
Dsimpletz.cpp78 rawOffset(rawOffsetGMT), in SimpleTimeZone()
163 this->rawOffset = rawOffsetGMT; in construct()
211 rawOffset = right.rawOffset; in operator =()
466 int32_t result = rawOffset; in getOffset()
480 startTimeMode == UTC_TIME ? -rawOffset : 0, in getOffset()
495 (endTimeMode == UTC_TIME ? -rawOffset : 0), in getOffset()
673 return rawOffset; in getRawOffset()
681 rawOffset = offsetMillis; in setRawOffset()
752 return rawOffset == that->rawOffset && in hasSameRules()
/third_party/skia/third_party/externals/icu/source/i18n/
Dtzrule.cpp35 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) in TimeZoneRule() argument
36 : UObject(), fName(name), fRawOffset(rawOffset), fDSTSavings(dstSavings) { in TimeZoneRule()
98 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
100 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
184 int32_t rawOffset, in AnnualTimeZoneRule() argument
189 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
194 int32_t rawOffset, in AnnualTimeZoneRule() argument
199 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
403 int32_t rawOffset, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
408 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dsimpletz.cpp78 rawOffset(rawOffsetGMT), in SimpleTimeZone()
163 this->rawOffset = rawOffsetGMT; in construct()
211 rawOffset = right.rawOffset; in operator =()
466 int32_t result = rawOffset; in getOffset()
480 startTimeMode == UTC_TIME ? -rawOffset : 0, in getOffset()
495 (endTimeMode == UTC_TIME ? -rawOffset : 0), in getOffset()
675 return rawOffset; in getRawOffset()
683 rawOffset = offsetMillis; in setRawOffset()
754 return rawOffset == that->rawOffset && in hasSameRules()
Dtimezone.cpp461 int32_t rawOffset = 0; in detectHostTimeZone() local
478 rawOffset = uprv_timezone() * -U_MILLIS_PER_SECOND; in detectHostTimeZone()
499 if (hostZone != NULL && rawOffset != hostZone->getRawOffset() in detectHostTimeZone()
511 hostZone = new SimpleTimeZone(rawOffset, hostStrID); in detectHostTimeZone()
708 void TimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument
714 rawOffset = getRawOffset(); in getOffset()
716 date += rawOffset; // now in local standard millis in getOffset()
741 ec) - rawOffset; in getOffset()
826 …on* create(USystemTimeZoneType type, const char* region, const int32_t* rawOffset, UErrorCode& ec)… in create() argument
844 if (region != NULL || rawOffset != NULL) { in create()
[all …]
/third_party/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp135 int32_t rawOffset, dstOffset; in dump() local
140 timezone->getOffset(t, false, rawOffset, dstOffset, status); in dump()
147 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
163 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
174 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? false : true), str); in dump()
185 rawOffset = newRawOffset; in dump()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dicuzdump.cpp135 int32_t rawOffset, dstOffset; in dump() local
140 timezone->getOffset(t, false, rawOffset, dstOffset, status); in dump()
147 UBool bSameOffset = (rawOffset + dstOffset) == (newRawOffset + newDstOffset); in dump()
163 bSameOffset = (rawOffset + dstOffset) == (medRawOffset + medDstOffset); in dump()
174 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? false : true), str); in dump()
185 rawOffset = newRawOffset; in dump()
/third_party/icu/icu4c/source/i18n/unicode/
Dtzrule.h174 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
213 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
390 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
409 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
625 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
Dtimezone.h199 const int32_t* rawOffset,
241 static StringEnumeration* U_EXPORT2 createEnumeration(int32_t rawOffset);
262 …static StringEnumeration* U_EXPORT2 createEnumerationForRawOffset(int32_t rawOffset, UErrorCode& s…
597 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
Drbtz.h201 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
313 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const override;
328 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dtzrule.h174 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
213 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
390 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
409 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
625 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
Dtimezone.h199 const int32_t* rawOffset,
241 static StringEnumeration* U_EXPORT2 createEnumeration(int32_t rawOffset);
262 …static StringEnumeration* U_EXPORT2 createEnumerationForRawOffset(int32_t rawOffset, UErrorCode& s…
628 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtzrule.h174 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
213 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
404 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
423 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
639 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
Drbtz.h200 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
313 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& status) const;
329 int32_t& rawOffset, int32_t& dstOffset, UErrorCode& ec) const;

1234