Lines Matching refs:MONTHLENGTH
80 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; variable
566 days[i] = MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE()
610 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE()
669 … tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1; in createRuleByRRULE()
785 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule()
786 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
794 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule()
795 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
846 dom = MONTHLENGTH[month] + 7 * (wim + 1); in toWallTimeRule()
854 dom = MONTHLENGTH[month]; in toWallTimeRule()
855 } else if (dom > MONTHLENGTH[month]) { in toWallTimeRule()
2392 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) { in writeZonePropsByDOW_GEQ_DOM()
2395 … month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status); in writeZonePropsByDOW_GEQ_DOM()
2427 } else if (dayOfMonth + 6 > MONTHLENGTH[month]) { in writeZonePropsByDOW_GEQ_DOM()
2430 int32_t nextMonthDays = dayOfMonth + 6 - MONTHLENGTH[month]; in writeZonePropsByDOW_GEQ_DOM()
2465 startDayNum = MONTHLENGTH[month] + dayOfMonth + 1; in writeZonePropsByDOW_GEQ_DOM_sub()
2513 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 0){ in writeZonePropsByDOW_LEQ_DOM()
2516 … month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status); in writeZonePropsByDOW_LEQ_DOM()