Lines Matching refs:dayOfMonth
325 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument
328 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule()
334 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
337 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule()
377 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument
380 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule()
386 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
389 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule()
573 int8_t dayOfMonth, in compareToRule() argument
582 ++dayOfMonth; in compareToRule()
584 if (dayOfMonth > monthLen) { in compareToRule()
585 dayOfMonth = 1; in compareToRule()
595 --dayOfMonth; in compareToRule()
597 if (dayOfMonth < 1) { in compareToRule()
598 dayOfMonth = prevMonthLen; in compareToRule()
631 (7 + ruleDayOfWeek - (dayOfWeek - dayOfMonth + 1)) % 7; in compareToRule()
641 (7 + (dayOfWeek + monthLen - dayOfMonth) - ruleDayOfWeek) % 7; in compareToRule()
647 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
652 (49 - ruleDayOfWeek + ruleDay + dayOfWeek - dayOfMonth) % 7; in compareToRule()
659 if (dayOfMonth < ruleDayOfMonth) return -1; in compareToRule()
660 else if (dayOfMonth > ruleDayOfMonth) return 1; in compareToRule()