Lines Matching refs:rbtz
436 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone("EST5EDT", ir); in TestHistoricalRuleBasedTimeZone() local
445 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
453 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
462 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
470 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
478 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
486 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
494 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
502 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
507 rbtz->complete(status); in TestHistoricalRuleBasedTimeZone()
517 if (!ny->hasEquivalentTransitions(*rbtz, jan1_1967, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
523 if (ny->hasEquivalentTransitions(*rbtz, jan1_1950, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
531 if (!rbtz->hasEquivalentTransitions(*ny, jan1_1967, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
537 if (rbtz->hasEquivalentTransitions(*ny, jan1_1950, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
545 if (ny->hasSameRules(*rbtz) || rbtz->hasSameRules(*ny)) { in TestHistoricalRuleBasedTimeZone()
548 RuleBasedTimeZone *rbtzc = (RuleBasedTimeZone*)rbtz->clone(); in TestHistoricalRuleBasedTimeZone()
549 …if (!rbtz->hasSameRules(*rbtzc) || !rbtz->hasEquivalentTransitions(*rbtzc, jan1_1950, jan1_2010, T… in TestHistoricalRuleBasedTimeZone()
570 rbtz->getOffset(times[i], FALSE, offset1, dst1, status); in TestHistoricalRuleBasedTimeZone()
583 if (rbtz->inDaylightTime(times[i], status) != ny->inDaylightTime(times[i], status)) { in TestHistoricalRuleBasedTimeZone()
592 delete rbtz; in TestHistoricalRuleBasedTimeZone()
665 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() local
670 rbtz->addTransitionRule(trsrules[i]->clone(), status); in TestRBTZTransition()
675 rbtz->complete(status); in TestRBTZTransition()
686 compareTransitionsAscending(*tz, *rbtz, start, until, FALSE); in TestRBTZTransition()
688 compareTransitionsAscending(*tz, *rbtz, start + 1, until, TRUE); in TestRBTZTransition()
690 compareTransitionsDescending(*tz, *rbtz, start, until, FALSE); in TestRBTZTransition()
692 compareTransitionsDescending(*tz, *rbtz, start + 1, until, TRUE); in TestRBTZTransition()
695 delete rbtz; in TestRBTZTransition()
1165 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial); in TestGetSimpleRules() local
1167 rbtz->addTransitionRule(std, status); in TestGetSimpleRules()
1171 rbtz->addTransitionRule(dst, status); in TestGetSimpleRules()
1176 rbtz->complete(status); in TestGetSimpleRules()
1186 rbtz->getOffset(testTimes[i], FALSE, raw1, dst1, status); in TestGetSimpleRules()
1193 delete rbtz; in TestGetSimpleRules()
2628 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(id, initialRule); in TestT8943() local
2632 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2636 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2640 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2644 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2645 rbtz->complete(status); in TestT8943()
2651 rbtz->getOffset(1293822000000.0 /* 2010-12-31 19:00:00 UTC */, FALSE, raw, dst, status); in TestT8943()
2659 delete rbtz; in TestT8943()