Lines Matching refs:DateTimeRule
537 DateTimeRule *adtr = NULL; in createRuleByRRULE()
707 adtr = new DateTimeRule(month, dayOfMonth, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
710 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
714 … adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
739 &start, 1, DateTimeRule::UTC_TIME); in createRuleByRDATE()
757 times, size, DateTimeRule::UTC_TIME); in createRuleByRDATE()
767 …valentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) { in isEquivalentDateRule()
771 if (dtrule->getTimeRuleType() != DateTimeRule::WALL_TIME) { in isEquivalentDateRule()
775 if (dtrule->getDateRuleType() == DateTimeRule::DOW in isEquivalentDateRule()
780 if (dtrule->getDateRuleType() == DateTimeRule::DOW_GEQ_DOM) { in isEquivalentDateRule()
789 if (dtrule->getDateRuleType() == DateTimeRule::DOW_LEQ_DOM) { in isEquivalentDateRule()
806 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings… in toWallTimeRule()
807 if (rule->getTimeRuleType() == DateTimeRule::WALL_TIME) { in toWallTimeRule()
811 if (rule->getTimeRuleType() == DateTimeRule::UTC_TIME) { in toWallTimeRule()
813 } else if (rule->getTimeRuleType() == DateTimeRule::STANDARD_TIME) { in toWallTimeRule()
818 DateTimeRule::DateRuleType dtype; in toWallTimeRule()
834 if (dtype == DateTimeRule::DOW) { in toWallTimeRule()
838 dtype = DateTimeRule::DOW_GEQ_DOM; in toWallTimeRule()
841 dtype = DateTimeRule::DOW_LEQ_DOM; in toWallTimeRule()
856 if (dtype != DateTimeRule::DOM) { in toWallTimeRule()
867 DateTimeRule *modifiedRule; in toWallTimeRule()
868 if (dtype == DateTimeRule::DOM) { in toWallTimeRule()
869 modifiedRule = new DateTimeRule(month, dom, wallt, DateTimeRule::WALL_TIME); in toWallTimeRule()
871 modifiedRule = new DateTimeRule(month, dom, dow, in toWallTimeRule()
872 (dtype == DateTimeRule::DOW_GEQ_DOM), wallt, DateTimeRule::WALL_TIME); in toWallTimeRule()
1662 DateTimeRule::UTC_TIME); in parse()
2482 const DateTimeRule *dtrule = toWallTimeRule(rule->getRule(), fromRawOffset, fromDSTSavings); in writeFinalRule()
2503 case DateTimeRule::DOM: in writeFinalRule()
2507 case DateTimeRule::DOW: in writeFinalRule()
2511 case DateTimeRule::DOW_GEQ_DOM: in writeFinalRule()
2515 case DateTimeRule::DOW_LEQ_DOM: in writeFinalRule()