/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZoneRule.java | 28 private final int dstSavings; field in TimeZoneRule 41 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument 44 this.dstSavings = dstSavings; in TimeZoneRule() 78 return dstSavings; in getDSTSavings() 92 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo() 181 buf.append(", dstSaving=" + dstSavings); in toString()
|
D | InitialTimeZoneRule.java | 33 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument 34 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
|
D | TimeArrayTimeZoneRule.java | 42 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument 43 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
|
D | VTimeZone.java | 681 int dstSavings = 0; in parse() local 692 dstSavings = toOffset - fromOffset; in parse() 696 dstSavings = DEF_DSTSAVINGS; in parse() 700 dstSavings = 0; in parse() 709 … rule = createRuleByRRULE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse() 711 … rule = createRuleByRDATE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse() 721 if (dstSavings > 0) { in parse() 858 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRRULE() argument 1042 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE() 1216 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 | 184 int endTimeMode,int dstSavings){ in SimpleTimeZone() argument 191 dstSavings); in SimpleTimeZone() 227 int dstSavings) { in SimpleTimeZone() argument 234 dstSavings); in SimpleTimeZone()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZoneRule.java | 29 private final int dstSavings; field in TimeZoneRule 40 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() argument 43 this.dstSavings = dstSavings; in TimeZoneRule() 71 return dstSavings; in getDSTSavings() 83 if (rawOffset == other.rawOffset && dstSavings == other.dstSavings) { in isEquivalentTo() 161 buf.append(", dstSaving=" + dstSavings); in toString()
|
D | InitialTimeZoneRule.java | 32 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() argument 33 super(name, rawOffset, dstSavings); in InitialTimeZoneRule()
|
D | TimeArrayTimeZoneRule.java | 41 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument 42 super(name, rawOffset, dstSavings); in TimeArrayTimeZoneRule()
|
D | VTimeZone.java | 650 int dstSavings = 0; in parse() local 661 dstSavings = toOffset - fromOffset; in parse() 665 dstSavings = DEF_DSTSAVINGS; in parse() 669 dstSavings = 0; in parse() 678 … rule = createRuleByRRULE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse() 680 … rule = createRuleByRDATE(tzname, rawOffset, dstSavings, start, dates, fromOffset); in parse() 690 if (dstSavings > 0) { in parse() 827 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRRULE() argument 1011 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE() 1185 int rawOffset, int dstSavings, long start, List<String> dates, int fromOffset) { in createRuleByRDATE() argument [all …]
|
D | AnnualTimeZoneRule.java | 49 public AnnualTimeZoneRule(String name, int rawOffset, int dstSavings, in AnnualTimeZoneRule() argument 51 super(name, rawOffset, dstSavings); in AnnualTimeZoneRule()
|
D | SimpleTimeZone.java | 179 int endTimeMode,int dstSavings){ in SimpleTimeZone() argument 186 dstSavings); in SimpleTimeZone() 221 int dstSavings) { in SimpleTimeZone() argument 228 dstSavings); in SimpleTimeZone()
|
/external/icu/icu4c/source/i18n/ |
D | tzrule.cpp | 33 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()
|
D | simpletz.cpp | 79 dstSavings(U_MILLIS_PER_HOUR) in SimpleTimeZone() 171 this->dstSavings = savingsDST; in construct() 222 dstSavings = right.dstSavings; in operator =() 491 endTimeMode == WALL_TIME ? dstSavings : in getOffset() 503 result += dstSavings; in getOffset() 691 dstSavings = millisSavedDuringDST; in setDSTSavings() 701 return dstSavings; in getDSTSavings() 753 || (dstSavings == that->dstSavings && in hasSameRules() 871 if (useDaylight && dstSavings == 0) { in decodeStartRule() 872 dstSavings = U_MILLIS_PER_HOUR; in decodeStartRule() [all …]
|
D | zrule.cpp | 69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument 71 return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); in izrule_open()
|
D | vtzone.cpp | 524 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() 1509 int32_t dstSavings = 0; in parse() local 1523 dstSavings = toOffset - fromOffset; in parse() [all …]
|
D | zrule.h | 117 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tzrule.h | 170 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,
|
D | simpletz.h | 819 int32_t dstSavings, UErrorCode& status); 870 int32_t dstSavings; variable
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 274 int32_t offset, dstSavings; in TestSimpleRuleBasedTimeZone() local 317 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone() 324 if (dstSavings != 3600000) { in TestSimpleRuleBasedTimeZone() 325 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); in TestSimpleRuleBasedTimeZone() 356 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone() 363 if (dstSavings != 0) { in TestSimpleRuleBasedTimeZone() 364 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0"); in TestSimpleRuleBasedTimeZone() 1876 int32_t rawOffset, dstSavings; in TestVTimeZoneParse() local 1877 tokyo->getOffset(Calendar::getNow(), FALSE, rawOffset, dstSavings, status); in TestVTimeZoneParse() 1881 if (rawOffset != 9*HOUR || dstSavings != 0) { in TestVTimeZoneParse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 1700 int dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() local 1707 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1726 dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() 1728 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1729 errln("ERROR: Got offset [raw:" + rawOffset + "/dst:" + dstSavings in TestSetDefault()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 1696 int dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() local 1703 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1722 dstSavings = jdkCal.get(java.util.Calendar.DST_OFFSET); in TestSetDefault() 1724 if (rawOffset != offsets[0] || dstSavings != offsets[1]) { in TestSetDefault() 1725 errln("ERROR: Got offset [raw:" + rawOffset + "/dst:" + dstSavings in TestSetDefault()
|