Home | History | Annotate | Download | only in i18n

Lines Matching refs:rule

115 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) {
119 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule);
121 // A final rule
132 fFinalRules->addElement((void*)rule, status);
134 // Non-final rule
141 fHistoricRules->addElement((void*)rule, status);
214 // No more transitions from this rule - skip this rule next time
432 const TimeZoneRule *rule = NULL;
434 rule = fInitialRule;
439 rule = fInitialRule;
446 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt);
448 if (rule == NULL) {
450 // specified by the final rules -> use the last rule
451 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
462 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
466 if (rule != NULL) {
467 rawOffset = rule->getRawOffset();
468 dstOffset = rule->getDSTSavings();
601 // Initial rule
678 TimeZoneRule *rule = (TimeZoneRule*)rules->orphanElementAt(i);
679 delete rule;
929 // Interprets the time with rule before the transition,
944 // Interprets the time with rule after the transition,