Home | History | Annotate | Download | only in i18n

Lines Matching defs:rules

548         // No more rules
592 // Parse the rest of rules if number of rules is not exceeding 7.
1337 UVector *rules = NULL; // list of TimeZoneRule instances
1342 rules = new UVector(status);
1347 rules->setDeleter(deleteTimeZoneRule);
1353 if (rules == NULL || dates == NULL) {
1533 rules->addElement(rule, status);
1543 if (rules->size() == 0) {
1564 for (n = 0; n < rules->size(); n++) {
1565 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n);
1574 // Too many final rules
1580 if (rules->size() == 1) {
1584 rules->removeAllElements();
1587 AnnualTimeZoneRule *finalRule = (AnnualTimeZoneRule*)rules->elementAt(finalRuleIdx);
1595 for (n = 0; n < rules->size(); n++) {
1599 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n);
1638 rules->removeElementAt(finalRuleIdx);
1639 rules->addElement(newRule, status);
1647 while (!rules->isEmpty()) {
1648 TimeZoneRule *tzr = (TimeZoneRule*)rules->orphanElementAt(0);
1658 delete rules;
1666 if (rules != NULL) {
1667 while (!rules->isEmpty()) {
1668 TimeZoneRule *r = (TimeZoneRule*)rules->orphanElementAt(0);
1671 delete rules;
1742 // Extract rules applicable to dates after the start time
1806 // Extract simple rules
2067 // Not equivalent rule - write out two different rules
2104 // Not equivalent rule - write out two different rules
2319 // only for final rules, which does not have the UNTIL attribute