Home
last modified time | relevance | path

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

/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/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.java387 TimeZoneRule initialRule = null; in getSimpleTimeZoneRulesNear() local
502 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
507 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
513 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
520 result[0] = initialRule; in getSimpleTimeZoneRulesNear()
523 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/icu4c/source/i18n/
Dsimpletz.cpp1043 initialRule = NULL; in clearTransitionRules()
1052 if (initialRule != NULL) { in deleteTransitionRules()
1053 delete initialRule; in deleteTransitionRules()
1192initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules()
1193 if (initialRule == NULL) { in initTransitionRules()
1198 firstTransition = new TimeZoneTransition(firstStdStart, *initialRule, *stdRule); in initTransitionRules()
1200 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules()
1201 if (initialRule == NULL) { in initTransitionRules()
1206 firstTransition = new TimeZoneTransition(firstDstStart, *initialRule, *dstRule); in initTransitionRules()
1216 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
[all …]
Dolsontz.cpp653 initialRule = NULL; in clearTransitionRules()
665 if (initialRule != NULL) { in deleteTransitionRules()
666 delete initialRule; in deleteTransitionRules()
719 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
721 if (initialRule == NULL) { in initTransitionRules()
796 *initialRule, *historicRules[typeIdx]); in initTransitionRules()
862 prevRule = initialRule; in initTransitionRules()
1047 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.java1072 rules[idx++] = initialRule; in getTimeZoneRules()
1097 private transient InitialTimeZoneRule initialRule; field in OlsonTimeZone
1111 initialRule = null; in initTransitionRules()
1126 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
1174 initialRule, historicRules[typeIdx]); in initTransitionRules()
1209 prevRule = initialRule; in initTransitionRules()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java1074 rules[idx++] = initialRule; in getTimeZoneRules()
1099 private transient InitialTimeZoneRule initialRule; field in OlsonTimeZone
1113 initialRule = null; in initTransitionRules()
1128 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
1176 initialRule, historicRules[typeIdx]); in initTransitionRules()
1211 prevRule = initialRule; in initTransitionRules()
/external/icu/icu4c/source/i18n/unicode/
Drbtz.h49 RuleBasedTimeZone(const UnicodeString& id, InitialTimeZoneRule* initialRule);
Dsimpletz.h886 InitialTimeZoneRule* initialRule; variable
/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/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/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()