Lines Matching refs:rbtz1

170     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()
286 cal->setTimeZone(*rbtz1); in TestSimpleRuleBasedTimeZone()
303 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
310 dst = rbtz1->inDaylightTime(time, status); in TestSimpleRuleBasedTimeZone()
317 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
342 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status); in TestSimpleRuleBasedTimeZone()
349 dst = rbtz1->inDaylightTime(time, status); in TestSimpleRuleBasedTimeZone()
356 rbtz1->getOffset(time, TRUE, offset, dstSavings, status); in TestSimpleRuleBasedTimeZone()
368 offset = rbtz1->getRawOffset(); in TestSimpleRuleBasedTimeZone()
376 if (rbtz0 == *rbtz1 || !(rbtz0 != *rbtz1)) { in TestSimpleRuleBasedTimeZone()
379 rbtz0 = *rbtz1; in TestSimpleRuleBasedTimeZone()
380 if (rbtz0 != *rbtz1 || !(rbtz0 == *rbtz1)) { in TestSimpleRuleBasedTimeZone()
392 if (!rbtz1->useDaylightTime()) { in TestSimpleRuleBasedTimeZone()
399 rbtz1->addTransitionRule(atzr, status); in TestSimpleRuleBasedTimeZone()
408 rbtz1->addTransitionRule(ir1, status); in TestSimpleRuleBasedTimeZone()
416 delete rbtz1; in TestSimpleRuleBasedTimeZone()