Lines Matching refs:dtrule
767 …valentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) { in isEquivalentDateRule() argument
768 if (month != dtrule->getRuleMonth() || dayOfWeek != dtrule->getRuleDayOfWeek()) { in isEquivalentDateRule()
771 if (dtrule->getTimeRuleType() != DateTimeRule::WALL_TIME) { in isEquivalentDateRule()
775 if (dtrule->getDateRuleType() == DateTimeRule::DOW in isEquivalentDateRule()
776 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()
779 int32_t ruleDOM = dtrule->getRuleDayOfMonth(); in isEquivalentDateRule()
780 if (dtrule->getDateRuleType() == DateTimeRule::DOW_GEQ_DOM) { in isEquivalentDateRule()
789 if (dtrule->getDateRuleType() == DateTimeRule::DOW_LEQ_DOM) { in isEquivalentDateRule()
2482 const DateTimeRule *dtrule = toWallTimeRule(rule->getRule(), fromRawOffset, fromDSTSavings); in writeFinalRule() local
2483 if (dtrule == NULL) { in writeFinalRule()
2485 dtrule = rule->getRule(); in writeFinalRule()
2492 int32_t timeInDay = dtrule->getRuleMillisInDay(); in writeFinalRule()
2502 switch (dtrule->getDateRuleType()) { in writeFinalRule()
2505 dtrule->getRuleMonth(), dtrule->getRuleDayOfMonth(), startTime, MAX_MILLIS, status); in writeFinalRule()
2509 …dtrule->getRuleMonth(), dtrule->getRuleWeekInMonth(), dtrule->getRuleDayOfWeek(), startTime, MAX_M… in writeFinalRule()
2513 …dtrule->getRuleMonth(), dtrule->getRuleDayOfMonth(), dtrule->getRuleDayOfWeek(), startTime, MAX_MI… in writeFinalRule()
2517 …dtrule->getRuleMonth(), dtrule->getRuleDayOfMonth(), dtrule->getRuleDayOfWeek(), startTime, MAX_MI… in writeFinalRule()
2521 delete dtrule; in writeFinalRule()