• Home
  • Raw
  • Download

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()
784 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule()
785 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
793 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule()
794 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
842 dom = MONTHLENGTH[month] + 7 * (wim + 1); in toWallTimeRule()
850 dom = MONTHLENGTH[month]; in toWallTimeRule()
851 } else if (dom > MONTHLENGTH[month]) { in toWallTimeRule()
2335 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) { in writeZonePropsByDOW_GEQ_DOM()
2338 … month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status); in writeZonePropsByDOW_GEQ_DOM()
2370 } else if (dayOfMonth + 6 > MONTHLENGTH[month]) { in writeZonePropsByDOW_GEQ_DOM()
2373 int32_t nextMonthDays = dayOfMonth + 6 - MONTHLENGTH[month]; in writeZonePropsByDOW_GEQ_DOM()
2408 startDayNum = MONTHLENGTH[month] + dayOfMonth + 1; in writeZonePropsByDOW_GEQ_DOM_sub()
2456 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 0){ in writeZonePropsByDOW_LEQ_DOM()
2459 … month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status); in writeZonePropsByDOW_LEQ_DOM()