Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZoneRule.java30 private final int dstSavings; field in TimeZoneRule
43 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
46 this.dstSavings = dstSavings; in TimeZoneRule()
80 return dstSavings; in getDSTSavings()
94 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
184 buf.append(", dstSaving=" + dstSavings); in toString()
DInitialTimeZoneRule.java35 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
36 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
DTimeArrayTimeZoneRule.java44 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
45 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
DVTimeZone.java687 int dstSavings = 0; in parse() local
698 dstSavings = toOffset - fromOffset; in parse()
702 dstSavings = DEF_DSTSAVINGS; in parse()
706 dstSavings = 0; in parse()
715 … rule = createRuleByRRULE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse()
717 … rule = createRuleByRDATE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse()
727 if (dstSavings > 0) { in parse()
864 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRRULE() argument
1048 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
1222 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRDATE() argument
[all …]
DAnnualTimeZoneRule.java53 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument
55 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
DSimpleTimeZone.java186 int endTimeMode,int dstSavings){ in SimpleTimeZone() argument
193 dstSavings); in SimpleTimeZone()
229 int dstSavings) { in SimpleTimeZone() argument
236 dstSavings); in SimpleTimeZone()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZoneRule.java32 private final int dstSavings; field in TimeZoneRule
43 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument
46 this.dstSavings = dstSavings; in TimeZoneRule()
75 return dstSavings; in getDSTSavings()
87 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo()
166 buf.append(", dstSaving=" + dstSavings); in toString()
DInitialTimeZoneRule.java34 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument
35 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
DTimeArrayTimeZoneRule.java43 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
44 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
DVTimeZone.java656 int dstSavings = 0; in parse() local
667 dstSavings = toOffset - fromOffset; in parse()
671 dstSavings = DEF_DSTSAVINGS; in parse()
675 dstSavings = 0; in parse()
684 … rule = createRuleByRRULE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse()
686 … rule = createRuleByRDATE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse()
696 if (dstSavings > 0) { in parse()
833 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRRULE() argument
1017 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
1191 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRDATE() argument
[all …]
DAnnualTimeZoneRule.java51 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument
53 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
DSimpleTimeZone.java181 int endTimeMode,int dstSavings){ in SimpleTimeZone() argument
188 dstSavings); in SimpleTimeZone()
223 int dstSavings) { in SimpleTimeZone() argument
230 dstSavings); in SimpleTimeZone()
/external/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()
99 int32_t dstSavings) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
100 : TimeZoneRule(name, rawOffset, dstSavings) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
185 int32_t dstSavings, in AnnualTimeZoneRule() argument
189 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
195 int32_t dstSavings, in AnnualTimeZoneRule() argument
199 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
404 int32_t dstSavings, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
408 : TimeZoneRule(name, rawOffset, dstSavings), fTimeRuleType(timeRuleType), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dsimpletz.cpp82 dstSavings(U_MILLIS_PER_HOUR) in SimpleTimeZone()
174 this->dstSavings = savingsDST; in construct()
225 dstSavings = right.dstSavings; in operator =()
494 endTimeMode == WALL_TIME ? dstSavings : in getOffset()
506 result += dstSavings; in getOffset()
694 dstSavings = millisSavedDuringDST; in setDSTSavings()
704 return dstSavings; in getDSTSavings()
756 || (dstSavings == that->dstSavings && in hasSameRules()
874 if (useDaylight && dstSavings == 0) { in decodeStartRule()
875 dstSavings = U_MILLIS_PER_HOUR; in decodeStartRule()
[all …]
Dzrule.cpp71 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument
73 return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); in izrule_open()
Dvtzone.cpp526 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings in createRuleByRRULE() argument
719 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
729 …meZoneRule* createRuleByRDATE(const UnicodeString& zonename, int32_t rawOffset, int32_t dstSavings, in createRuleByRDATE() argument
738 …retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, &start, 1, DateTimeRule::UTC_T… in createRuleByRDATE()
755 …retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, times, size, DateTimeRule::UTC… in createRuleByRDATE()
807 static DateTimeRule *toWallTimeRule(const DateTimeRule *rule, int32_t rawOffset, int32_t dstSavings in toWallTimeRule() argument
816 wallt += (rawOffset + dstSavings); in toWallTimeRule()
818 wallt += dstSavings; in toWallTimeRule()
1561 int32_t dstSavings = 0; in parse() local
1575 dstSavings = toOffset - fromOffset; in parse()
[all …]
Dzrule.h121 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
/external/icu/libicu/cts_headers/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,
Dsimpletz.h827 int32_t dstSavings, UErrorCode& status);
878 int32_t dstSavings; variable
/external/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);
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,
Dsimpletz.h827 int32_t dstSavings, UErrorCode& status);
878 int32_t dstSavings; variable
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DZoneInfoData.java724 final Integer dstSavings; in getLatestDstSavingsMillis() local
728 dstSavings = null; in getLatestDstSavingsMillis()
734 dstSavings = (lastDstOffset - lastGmtOffset) * 1000; in getLatestDstSavingsMillis()
736 return dstSavings; in getLatestDstSavingsMillis()
/external/icu/libicu/cts_headers/
Dzrule.h121 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp277 int32_t offset, dstSavings; in TestSimpleRuleBasedTimeZone() local
320 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
327 if (dstSavings != 3600000) { in TestSimpleRuleBasedTimeZone()
328 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); in TestSimpleRuleBasedTimeZone()
359 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
366 if (dstSavings != 0) { in TestSimpleRuleBasedTimeZone()
367 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0"); in TestSimpleRuleBasedTimeZone()
1879 int32_t rawOffset, dstSavings; in TestVTimeZoneParse() local
1880 tokyo->getOffset(Calendar::getNow(), FALSE, rawOffset, dstSavings, status); in TestVTimeZoneParse()
1884 if (rawOffset != 9*HOUR || dstSavings != 0) { in TestVTimeZoneParse()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneTest.java1720 int dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() local
1727 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault()
1746 dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault()
1748 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault()
1749 errln("ERROR: Got offset [raw:" + rawOffset + "/dst:" + dstSavings in TestSetDefault()

12