Lines Matching refs:dayOfMonth
324 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument
327 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule()
333 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
336 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule()
376 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument
379 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule()
385 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
388 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule()
572 int8_t dayOfMonth, in compareToRule() argument
581 ++dayOfMonth; in compareToRule()
583 if (dayOfMonth > monthLen) { in compareToRule()
584 dayOfMonth = 1; in compareToRule()
594 --dayOfMonth; in compareToRule()
596 if (dayOfMonth < 1) { in compareToRule()
597 dayOfMonth = prevMonthLen; in compareToRule()
630 (7 + ruleDayOfWeek - (dayOfWeek - dayOfMonth + 1)) % 7; in compareToRule()
640 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
646 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
651 (49 - ruleDayOfWeek + ruleDay + dayOfWeek - dayOfMonth) % 7; in compareToRule()
658 if (dayOfMonth < ruleDayOfMonth) return -1; in compareToRule()
659 else if (dayOfMonth > ruleDayOfMonth) return 1; in compareToRule()