Home
last modified time | relevance | path

Searched refs:dstSavings (Results 1 – 8 of 8) sorted by relevance

/external/icu4c/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()
97 int32_t dstSavings) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
98 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
183 int32_t dstSavings, in AnnualTimeZoneRule() argument
187 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
193 int32_t dstSavings, in AnnualTimeZoneRule() argument
197 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
402 int32_t dstSavings, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
406 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dsimpletz.cpp78 dstSavings(U_MILLIS_PER_HOUR) in SimpleTimeZone()
170 this->dstSavings = savingsDST; in construct()
221 dstSavings = right.dstSavings; in operator =()
490 endTimeMode == WALL_TIME ? dstSavings : in getOffset()
502 result += dstSavings; in getOffset()
690 dstSavings = millisSavedDuringDST; in setDSTSavings()
700 return dstSavings; in getDSTSavings()
752 || (dstSavings == that->dstSavings && in hasSameRules()
870 if (useDaylight && dstSavings == 0) { in decodeStartRule()
871 dstSavings = U_MILLIS_PER_HOUR; in decodeStartRule()
[all …]
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(name, rawOffset, dstSavings); in izrule_open()
Dvtzone.cpp524 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings in createRuleByRRULE() argument
717 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
727 …meZoneRule* createRuleByRDATE(const UnicodeString& zonename, int32_t rawOffset, int32_t dstSavings, in createRuleByRDATE() argument
736 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, in createRuleByRDATE()
754 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, in createRuleByRDATE()
804 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings in toWallTimeRule() argument
810 wallt += (rawOffset + dstSavings); in toWallTimeRule()
812 wallt += dstSavings; in toWallTimeRule()
1504 int32_t dstSavings = 0; in parse() local
1518 dstSavings = toOffset - fromOffset; in parse()
[all …]
Dzrule.h127 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
/external/icu4c/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,
Dsimpletz.h819 int32_t dstSavings, UErrorCode& status);
870 int32_t dstSavings; variable
/external/icu4c/test/intltest/
Dtzrulets.cpp275 int32_t offset, dstSavings; in TestSimpleRuleBasedTimeZone() local
318 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
325 if (dstSavings != 3600000) { in TestSimpleRuleBasedTimeZone()
326 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); in TestSimpleRuleBasedTimeZone()
357 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
364 if (dstSavings != 0) { in TestSimpleRuleBasedTimeZone()
365 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0"); in TestSimpleRuleBasedTimeZone()
1877 int32_t rawOffset, dstSavings; in TestVTimeZoneParse() local
1878 tokyo->getOffset(Calendar::getNow(), FALSE, rawOffset, dstSavings, status); in TestVTimeZoneParse()
1882 if (rawOffset != 9*HOUR || dstSavings != 0) { in TestVTimeZoneParse()