• Home
  • Raw
  • Download

Lines Matching refs:DateTimeRule

535     DateTimeRule *adtr = NULL;  in createRuleByRRULE()
705 adtr = new DateTimeRule(month, dayOfMonth, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
708 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
712 … adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
737 &start, 1, DateTimeRule::UTC_TIME); in createRuleByRDATE()
755 times, size, DateTimeRule::UTC_TIME); in createRuleByRDATE()
765 …valentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) { in isEquivalentDateRule()
769 if (dtrule->getTimeRuleType() != DateTimeRule::WALL_TIME) { in isEquivalentDateRule()
773 if (dtrule->getDateRuleType() == DateTimeRule::DOW in isEquivalentDateRule()
778 if (dtrule->getDateRuleType() == DateTimeRule::DOW_GEQ_DOM) { in isEquivalentDateRule()
787 if (dtrule->getDateRuleType() == DateTimeRule::DOW_LEQ_DOM) { in isEquivalentDateRule()
804 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings… in toWallTimeRule()
805 if (rule->getTimeRuleType() == DateTimeRule::WALL_TIME) { in toWallTimeRule()
809 if (rule->getTimeRuleType() == DateTimeRule::UTC_TIME) { in toWallTimeRule()
811 } else if (rule->getTimeRuleType() == DateTimeRule::STANDARD_TIME) { in toWallTimeRule()
816 DateTimeRule::DateRuleType dtype; in toWallTimeRule()
832 if (dtype == DateTimeRule::DOW) { in toWallTimeRule()
836 dtype = DateTimeRule::DOW_GEQ_DOM; in toWallTimeRule()
839 dtype = DateTimeRule::DOW_LEQ_DOM; in toWallTimeRule()
854 if (dtype != DateTimeRule::DOM) { in toWallTimeRule()
865 DateTimeRule *modifiedRule; in toWallTimeRule()
866 if (dtype == DateTimeRule::DOM) { in toWallTimeRule()
867 modifiedRule = new DateTimeRule(month, dom, wallt, DateTimeRule::WALL_TIME); in toWallTimeRule()
869 modifiedRule = new DateTimeRule(month, dom, dow, in toWallTimeRule()
870 (dtype == DateTimeRule::DOW_GEQ_DOM), wallt, DateTimeRule::WALL_TIME); in toWallTimeRule()
1655 DateTimeRule::UTC_TIME); in parse()
2475 const DateTimeRule *dtrule = toWallTimeRule(rule->getRule(), fromRawOffset, fromDSTSavings); in writeFinalRule()
2496 case DateTimeRule::DOM: in writeFinalRule()
2500 case DateTimeRule::DOW: in writeFinalRule()
2504 case DateTimeRule::DOW_GEQ_DOM: in writeFinalRule()
2508 case DateTimeRule::DOW_LEQ_DOM: in writeFinalRule()