Searched refs:rbtz2 (Results 1 - 3 of 3) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneRuleTest.java | 87 RuleBasedTimeZone rbtz2 = new RuleBasedTimeZone("RBTZ2", ir); in TestSimpleRuleBasedTimeZone() 91 rbtz2.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone() 95 rbtz2.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone() 115 if (!(stz.hasEquivalentTransitions(rbtz2, start, until))) { in TestSimpleRuleBasedTimeZone() 116 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 123 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone() 124 errln("FAIL: rbtz1 and rbtz2 have different rules, but returned true."); in TestSimpleRuleBasedTimeZone()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneRuleTest.java | 85 RuleBasedTimeZone rbtz2 = new RuleBasedTimeZone("RBTZ2", ir); in TestSimpleRuleBasedTimeZone() 89 rbtz2.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone() 93 rbtz2.addTransitionRule(atzr); in TestSimpleRuleBasedTimeZone() 113 if (!(stz.hasEquivalentTransitions(rbtz2, start, until))) { in TestSimpleRuleBasedTimeZone() 114 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 121 if (rbtz1.hasSameRules(rbtz2)) { in TestSimpleRuleBasedTimeZone() 122 errln("FAIL: rbtz1 and rbtz2 have different rules, but returned true."); in TestSimpleRuleBasedTimeZone()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzrulets.cpp | 198 RuleBasedTimeZone *rbtz2 = new RuleBasedTimeZone("RBTZ2", ir->clone()); in TestSimpleRuleBasedTimeZone() local 202 rbtz2->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone() 209 rbtz2->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone() 213 rbtz2->complete(status); in TestSimpleRuleBasedTimeZone() 249 if (!(stz.hasEquivalentTransitions(*rbtz2, start, until, true, status))) { in TestSimpleRuleBasedTimeZone() 250 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); in TestSimpleRuleBasedTimeZone() 263 if (rbtz1->hasSameRules(*rbtz2)) { in TestSimpleRuleBasedTimeZone() 264 errln("FAIL: rbtz1 and rbtz2 have different rules, but returned true."); in TestSimpleRuleBasedTimeZone() 284 delete rbtz2; in TestSimpleRuleBasedTimeZone() 416 delete rbtz2; in TestSimpleRuleBasedTimeZone() [all...] |
Completed in 6 milliseconds