Home
last modified time | relevance | path

Searched refs:rbtz1 (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dtzrulets.cpp173 RuleBasedTimeZone *rbtz1 = new RuleBasedTimeZone("RBTZ1", ir->clone()); in TestSimpleRuleBasedTimeZone() local
179 rbtz1->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone()
188 rbtz1->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone()
192 rbtz1->complete(status); in TestSimpleRuleBasedTimeZone()
243 if (!(stz.hasEquivalentTransitions(*rbtz1, start, until, true, status))) { in TestSimpleRuleBasedTimeZone()
263 if (rbtz1->hasSameRules(*rbtz2)) { in TestSimpleRuleBasedTimeZone()
266 if (rbtz1->hasSameRules(*rbtz3)) { in TestSimpleRuleBasedTimeZone()
269 RuleBasedTimeZone *rbtz1c = rbtz1->clone(); in TestSimpleRuleBasedTimeZone()
270 if (!rbtz1->hasSameRules(*rbtz1c)) { in TestSimpleRuleBasedTimeZone()
283 delete rbtz1; in TestSimpleRuleBasedTimeZone()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRuleTest.java72 RuleBasedTimeZone rbtz1 = new RuleBasedTimeZone("RBTZ1", ir); in TestSimpleRuleBasedTimeZone() local
78 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
84 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
112 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
123 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone()
126 if (rbtz1.hasSameRules(rbtz3)) { in TestSimpleRuleBasedTimeZone()
129 RuleBasedTimeZone rbtz1c = (RuleBasedTimeZone)rbtz1.clone(); in TestSimpleRuleBasedTimeZone()
130 if (!rbtz1.hasSameRules(rbtz1c)) { in TestSimpleRuleBasedTimeZone()
140 cal.setTimeZone(rbtz1); in TestSimpleRuleBasedTimeZone()
147 … offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), in TestSimpleRuleBasedTimeZone()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java70 RuleBasedTimeZone rbtz1 = new RuleBasedTimeZone("RBTZ1", ir); in TestSimpleRuleBasedTimeZone() local
76 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
82 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
110 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
121 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone()
124 if (rbtz1.hasSameRules(rbtz3)) { in TestSimpleRuleBasedTimeZone()
127 RuleBasedTimeZone rbtz1c = (RuleBasedTimeZone)rbtz1.clone(); in TestSimpleRuleBasedTimeZone()
128 if (!rbtz1.hasSameRules(rbtz1c)) { in TestSimpleRuleBasedTimeZone()
138 cal.setTimeZone(rbtz1); in TestSimpleRuleBasedTimeZone()
145 … offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), in TestSimpleRuleBasedTimeZone()
[all …]