/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZoneRule.java | 30 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()
|
D | InitialTimeZoneRule.java | 35 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument 36 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
|
D | TimeArrayTimeZoneRule.java | 44 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument 45 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
|
D | VTimeZone.java | 687 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 …]
|
D | AnnualTimeZoneRule.java | 53 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument 55 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
|
D | SimpleTimeZone.java | 186 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/ |
D | TimeZoneRule.java | 32 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()
|
D | InitialTimeZoneRule.java | 34 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument 35 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
|
D | TimeArrayTimeZoneRule.java | 43 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument 44 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
|
D | VTimeZone.java | 656 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 …]
|
D | AnnualTimeZoneRule.java | 51 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument 53 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
|
D | SimpleTimeZone.java | 181 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/ |
D | tzrule.cpp | 35 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()
|
D | simpletz.cpp | 81 dstSavings(U_MILLIS_PER_HOUR) in SimpleTimeZone() 173 this->dstSavings = savingsDST; in construct() 224 dstSavings = right.dstSavings; in operator =() 493 endTimeMode == WALL_TIME ? dstSavings : in getOffset() 505 result += dstSavings; in getOffset() 693 dstSavings = millisSavedDuringDST; in setDSTSavings() 703 return dstSavings; in getDSTSavings() 755 || (dstSavings == that->dstSavings && in hasSameRules() 873 if (useDaylight && dstSavings == 0) { in decodeStartRule() 874 dstSavings = U_MILLIS_PER_HOUR; in decodeStartRule() [all …]
|
D | zrule.cpp | 71 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()
|
D | vtzone.cpp | 526 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, in createRuleByRDATE() 756 retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, in createRuleByRDATE() 806 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings… in toWallTimeRule() argument 812 wallt += (rawOffset + dstSavings); in toWallTimeRule() 814 wallt += dstSavings; in toWallTimeRule() 1511 int32_t dstSavings = 0; in parse() local 1525 dstSavings = toOffset - fromOffset; in parse() [all …]
|
D | zrule.h | 121 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tzrule.h | 172 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings); 211 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings); 402 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings, 421 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings, 637 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
|
D | simpletz.h | 823 int32_t dstSavings, UErrorCode& status); 874 int32_t dstSavings; variable
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 277 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/ |
D | TimeZoneTest.java | 1716 int dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() local 1723 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1742 dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() 1744 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1745 errln("ERROR: Got offset [raw:" + rawOffset + "/dst:" + dstSavings in TestSetDefault()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 1719 int dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() local 1726 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1745 dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() 1747 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1748 errln("ERROR: Got offset [raw:" + rawOffset + "/dst:" + dstSavings in TestSetDefault()
|