Home
last modified time | relevance | path

Searched refs:initialRule (Results 1 – 20 of 20) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DRuleBasedTimeZone.java30 private final InitialTimeZoneRule initialRule; field in RuleBasedTimeZone
44 public RuleBasedTimeZone(String id, InitialTimeZoneRule initialRule) { in RuleBasedTimeZone() argument
46 this.initialRule = initialRule; in RuleBasedTimeZone()
239 if (!initialRule.isEquivalentTo(otherRBTZ.initialRule)) { in hasSameRules()
303 rules[0] = initialRule; in getTimeZoneRules()
483 TimeZoneRule curRule = initialRule; in complete()
595 rule = initialRule; in getOffset()
600 rule = initialRule; in getOffset()
DBasicTimeZone.java383 TimeZoneRule initialRule = null; in getSimpleTimeZoneRulesNear() local
498 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
503 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
509 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
516 result[0] = initialRule; in getSimpleTimeZoneRulesNear()
519 result[0] = initialRule; in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1295 rules[0] = initialRule; in getTimeZoneRules()
1304 private transient InitialTimeZoneRule initialRule; field in SimpleTimeZone
1373 initialRule = new InitialTimeZoneRule(getID() + "(DST)", getRawOffset(), in initTransitionRules()
1375 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule); in initTransitionRules()
1377 initialRule = new InitialTimeZoneRule(getID() + "(STD)", getRawOffset(), 0); in initTransitionRules()
1378 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule); in initTransitionRules()
1383 initialRule = new InitialTimeZoneRule(getID(), getRawOffset(), 0); in initTransitionRules()
DVTimeZone.java736 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(getDefaultTZName(tzid, false), in parse() local
740 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java29 private final InitialTimeZoneRule initialRule; field in RuleBasedTimeZone
45 public RuleBasedTimeZone(String id, InitialTimeZoneRule initialRule) { in RuleBasedTimeZone() argument
47 this.initialRule = initialRule; in RuleBasedTimeZone()
257 if (!initialRule.isEquivalentTo(otherRBTZ.initialRule)) { in hasSameRules()
323 rules[0] = initialRule; in getTimeZoneRules()
508 TimeZoneRule curRule = initialRule; in complete()
620 rule = initialRule; in getOffset()
625 rule = initialRule; in getOffset()
DBasicTimeZone.java394 TimeZoneRule initialRule = null; in getSimpleTimeZoneRulesNear() local
509 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
514 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
520 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
527 result[0] = initialRule; in getSimpleTimeZoneRulesNear()
530 result[0] = initialRule; in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1326 rules[0] = initialRule; in getTimeZoneRules()
1335 private transient InitialTimeZoneRule initialRule; field in SimpleTimeZone
1404 initialRule = new InitialTimeZoneRule(getID() + "(DST)", getRawOffset(), in initTransitionRules()
1406 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule); in initTransitionRules()
1408 initialRule = new InitialTimeZoneRule(getID() + "(STD)", getRawOffset(), 0); in initTransitionRules()
1409 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule); in initTransitionRules()
1414 initialRule = new InitialTimeZoneRule(getID(), getRawOffset(), 0); in initTransitionRules()
DVTimeZone.java767 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(getDefaultTZName(tzid, false), in parse() local
771 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse()
/external/icu/icu4c/source/i18n/
Dsimpletz.cpp1042 initialRule = NULL; in clearTransitionRules()
1051 if (initialRule != NULL) { in deleteTransitionRules()
1052 delete initialRule; in deleteTransitionRules()
1191initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules()
1192 if (initialRule == NULL) { in initTransitionRules()
1197 firstTransition = new TimeZoneTransition(firstStdStart, *initialRule, *stdRule); in initTransitionRules()
1199 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules()
1200 if (initialRule == NULL) { in initTransitionRules()
1205 firstTransition = new TimeZoneTransition(firstDstStart, *initialRule, *dstRule); in initTransitionRules()
1215 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
[all …]
Dolsontz.cpp656 initialRule = NULL; in clearTransitionRules()
668 if (initialRule != NULL) { in deleteTransitionRules()
669 delete initialRule; in deleteTransitionRules()
722 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
724 if (initialRule == NULL) { in initTransitionRules()
799 *initialRule, *historicRules[typeIdx]); in initTransitionRules()
865 prevRule = initialRule; in initTransitionRules()
1050 initial = initialRule; in getTimeZoneRules()
Dolsontz.h394 InitialTimeZoneRule *initialRule;
Dvtzone.cpp1356 InitialTimeZoneRule *initialRule = NULL; in parse() local
1589 initialRule = new InitialTimeZoneRule(zonename, in parse()
1591 if (initialRule == NULL) { in parse()
1597 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse()
1602 initialRule = NULL; // already adopted by RBTZ, no need to delete in parse()
1717 if (initialRule != NULL) { in parse()
1718 delete initialRule; in parse()
Drbtz.cpp56 RuleBasedTimeZone::RuleBasedTimeZone(const UnicodeString& id, InitialTimeZoneRule* initialRule) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
57 : BasicTimeZone(id), fInitialRule(initialRule), fHistoricRules(NULL), fFinalRules(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java1075 rules[idx++] = initialRule; in getTimeZoneRules()
1100 private transient InitialTimeZoneRule initialRule; field in OlsonTimeZone
1114 initialRule = null; in initTransitionRules()
1129 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
1177 initialRule, historicRules[typeIdx]); in initTransitionRules()
1212 prevRule = initialRule; in initTransitionRules()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java1077 rules[idx++] = initialRule; in getTimeZoneRules()
1102 private transient InitialTimeZoneRule initialRule; field in OlsonTimeZone
1116 initialRule = null; in initTransitionRules()
1131 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
1179 initialRule, historicRules[typeIdx]); in initTransitionRules()
1214 prevRule = initialRule; in initTransitionRules()
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h47 RuleBasedTimeZone(const UnicodeString& id, InitialTimeZoneRule* initialRule);
Dsimpletz.h882 InitialTimeZoneRule* initialRule; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1823 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(stdName, 18000000, 0); in TestT8943() local
1824 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(id, initialRule); in TestT8943()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1820 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(stdName, 18000000, 0); in TestT8943() local
1821 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(id, initialRule); in TestT8943()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp2630 InitialTimeZoneRule *initialRule = new InitialTimeZoneRule(stdName, 18000000, 0); in TestT8943() local
2631 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(id, initialRule); in TestT8943()