Home | History | Annotate | Download | only in i18n

Lines Matching refs:DateTimeRule

534     DateTimeRule *adtr = NULL;
704 adtr = new DateTimeRule(month, dayOfMonth, startMID, DateTimeRule::WALL_TIME);
707 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME);
711 adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME);
736 &start, 1, DateTimeRule::UTC_TIME);
754 times, size, DateTimeRule::UTC_TIME);
762 * to the DateTimerule.
764 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
768 if (dtrule->getTimeRuleType() != DateTimeRule::WALL_TIME) {
772 if (dtrule->getDateRuleType() == DateTimeRule::DOW
777 if (dtrule->getDateRuleType() == DateTimeRule::DOW_GEQ_DOM) {
786 if (dtrule->getDateRuleType() == DateTimeRule::DOW_LEQ_DOM) {
800 * This function returns NULL when the specified DateTimeRule is already
803 static DateTimeRule* toWallTimeRule(const DateTimeRule* rule, int32_t rawOffset, int32_t dstSavings) {
804 if (rule->getTimeRuleType() == DateTimeRule::WALL_TIME) {
808 if (rule->getTimeRuleType() == DateTimeRule::UTC_TIME) {
810 } else if (rule->getTimeRuleType() == DateTimeRule::STANDARD_TIME) {
815 DateTimeRule::DateRuleType dtype;
831 if (dtype == DateTimeRule::DOW) {
835 dtype = DateTimeRule::DOW_GEQ_DOM;
838 dtype = DateTimeRule::DOW_LEQ_DOM;
853 if (dtype != DateTimeRule::DOM) {
864 DateTimeRule *modifiedRule;
865 if (dtype == DateTimeRule::DOM) {
866 modifiedRule = new DateTimeRule(month, dom, wallt, DateTimeRule::WALL_TIME);
868 modifiedRule = new DateTimeRule(month, dom, dow,
869 (dtype == DateTimeRule::DOW_GEQ_DOM), wallt, DateTimeRule::WALL_TIME);
1659 DateTimeRule::UTC_TIME);
2479 const DateTimeRule *dtrule = toWallTimeRule(rule->getRule(), fromRawOffset, fromDSTSavings);
2500 case DateTimeRule::DOM:
2504 case DateTimeRule::DOW:
2508 case DateTimeRule::DOW_GEQ_DOM:
2512 case DateTimeRule::DOW_LEQ_DOM: