Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp170 RuleBasedTimeZone *rbtz1 = new RuleBasedTimeZone("RBTZ1", ir->clone()); in TestSimpleRuleBasedTimeZone() local
176 rbtz1->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone()
185 rbtz1->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone()
189 rbtz1->complete(status); in TestSimpleRuleBasedTimeZone()
240 if (!(stz.hasEquivalentTransitions(*rbtz1, start, until, TRUE, status))) { in TestSimpleRuleBasedTimeZone()
260 if (rbtz1->hasSameRules(*rbtz2)) { in TestSimpleRuleBasedTimeZone()
263 if (rbtz1->hasSameRules(*rbtz3)) { in TestSimpleRuleBasedTimeZone()
266 RuleBasedTimeZone *rbtz1c = (RuleBasedTimeZone*)rbtz1->clone(); in TestSimpleRuleBasedTimeZone()
267 if (!rbtz1->hasSameRules(*rbtz1c)) { in TestSimpleRuleBasedTimeZone()
280 delete rbtz1; in TestSimpleRuleBasedTimeZone()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java69 RuleBasedTimeZone rbtz1 = new RuleBasedTimeZone("RBTZ1", ir); in TestSimpleRuleBasedTimeZone() local
75 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
81 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
109 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
120 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone()
123 if (rbtz1.hasSameRules(rbtz3)) { in TestSimpleRuleBasedTimeZone()
126 RuleBasedTimeZone rbtz1c = (RuleBasedTimeZone)rbtz1.clone(); in TestSimpleRuleBasedTimeZone()
127 if (!rbtz1.hasSameRules(rbtz1c)) { in TestSimpleRuleBasedTimeZone()
137 cal.setTimeZone(rbtz1); in TestSimpleRuleBasedTimeZone()
144 … offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), in TestSimpleRuleBasedTimeZone()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java65 RuleBasedTimeZone rbtz1 = new RuleBasedTimeZone("RBTZ1", ir); in TestSimpleRuleBasedTimeZone() local
71 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
77 rbtz1.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone()
105 if (!(stz.hasEquivalentTransitions(rbtz1, start, until))) { in TestSimpleRuleBasedTimeZone()
116 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone()
119 if (rbtz1.hasSameRules(rbtz3)) { in TestSimpleRuleBasedTimeZone()
122 RuleBasedTimeZone rbtz1c = (RuleBasedTimeZone)rbtz1.clone(); in TestSimpleRuleBasedTimeZone()
123 if (!rbtz1.hasSameRules(rbtz1c)) { in TestSimpleRuleBasedTimeZone()
133 cal.setTimeZone(rbtz1); in TestSimpleRuleBasedTimeZone()
140 … offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), in TestSimpleRuleBasedTimeZone()
[all …]