Lines Matching refs:rbtz

439     RuleBasedTimeZone *rbtz = new RuleBasedTimeZone("EST5EDT", ir);  in TestHistoricalRuleBasedTimeZone()  local
448 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
456 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
465 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
473 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
481 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
489 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
497 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
505 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
510 rbtz->complete(status); in TestHistoricalRuleBasedTimeZone()
520 if (!ny->hasEquivalentTransitions(*rbtz, jan1_1967, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
526 if (ny->hasEquivalentTransitions(*rbtz, jan1_1950, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
534 if (!rbtz->hasEquivalentTransitions(*ny, jan1_1967, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
540 if (rbtz->hasEquivalentTransitions(*ny, jan1_1950, jan1_2010, TRUE, status)) { in TestHistoricalRuleBasedTimeZone()
548 if (ny->hasSameRules(*rbtz) || rbtz->hasSameRules(*ny)) { in TestHistoricalRuleBasedTimeZone()
551 RuleBasedTimeZone *rbtzc = (RuleBasedTimeZone*)rbtz->clone(); in TestHistoricalRuleBasedTimeZone()
552 …if (!rbtz->hasSameRules(*rbtzc) || !rbtz->hasEquivalentTransitions(*rbtzc, jan1_1950, jan1_2010, T… in TestHistoricalRuleBasedTimeZone()
573 rbtz->getOffset(times[i], FALSE, offset1, dst1, status); in TestHistoricalRuleBasedTimeZone()
586 if (rbtz->inDaylightTime(times[i], status) != ny->inDaylightTime(times[i], status)) { in TestHistoricalRuleBasedTimeZone()
595 delete rbtz; in TestHistoricalRuleBasedTimeZone()
668 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() local
673 rbtz->addTransitionRule(trsrules[i]->clone(), status); in TestRBTZTransition()
678 rbtz->complete(status); in TestRBTZTransition()
689 compareTransitionsAscending(*tz, *rbtz, start, until, FALSE); in TestRBTZTransition()
691 compareTransitionsAscending(*tz, *rbtz, start + 1, until, TRUE); in TestRBTZTransition()
693 compareTransitionsDescending(*tz, *rbtz, start, until, FALSE); in TestRBTZTransition()
695 compareTransitionsDescending(*tz, *rbtz, start + 1, until, TRUE); in TestRBTZTransition()
698 delete rbtz; in TestRBTZTransition()
1168 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial); in TestGetSimpleRules() local
1170 rbtz->addTransitionRule(std, status); in TestGetSimpleRules()
1174 rbtz->addTransitionRule(dst, status); in TestGetSimpleRules()
1179 rbtz->complete(status); in TestGetSimpleRules()
1189 rbtz->getOffset(testTimes[i], FALSE, raw1, dst1, status); in TestGetSimpleRules()
1196 delete rbtz; in TestGetSimpleRules()
2631 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(id, initialRule); in TestT8943() local
2635 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2639 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2643 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2647 rbtz->addTransitionRule(atzRule, status); in TestT8943()
2648 rbtz->complete(status); in TestT8943()
2654 rbtz->getOffset(1293822000000.0 /* 2010-12-31 19:00:00 UTC */, FALSE, raw, dst, status); in TestT8943()
2662 delete rbtz; in TestT8943()