Home | History | Annotate | Download | only in i18n

Lines Matching defs:rules

549         // No more rules
593 // Parse the rest of rules if number of rules is not exceeding 7.
1374 UVector *rules = NULL; // list of TimeZoneRule instances
1379 rules = new UVector(status);
1384 rules->setDeleter(deleteTimeZoneRule);
1390 if (rules == NULL || dates == NULL) {
1570 rules->addElement(rule, status);
1580 if (rules->size() == 0) {
1601 for (n = 0; n < rules->size(); n++) {
1602 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n);
1612 // Too many final rules
1618 if (rules->size() == 1) {
1622 rules->removeAllElements();
1625 AnnualTimeZoneRule *finalRule = (AnnualTimeZoneRule*)rules->elementAt(finalRuleIdx);
1633 for (n = 0; n < rules->size(); n++) {
1637 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n);
1676 rules->removeElementAt(finalRuleIdx);
1677 rules->addElement(newRule, status);
1685 while (!rules->isEmpty()) {
1686 TimeZoneRule *tzr = (TimeZoneRule*)rules->orphanElementAt(0);
1696 delete rules;
1704 if (rules != NULL) {
1705 while (!rules->isEmpty()) {
1706 TimeZoneRule *r = (TimeZoneRule*)rules->orphanElementAt(0);
1709 delete rules;
1780 // Extract rules applicable to dates after the start time
1844 // Extract simple rules
2106 // Not equivalent rule - write out two different rules
2143 // Not equivalent rule - write out two different rules
2358 // only for final rules, which does not have the UNTIL attribute