Home | History | Annotate | Download | only in i18n

Lines Matching defs:MONTHLENGTH

78 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
264 int32_t maxDayOfMonth = Grego::monthLength(year, month);
564 days[i] = MONTHLENGTH[month] + days[i] + 1;
608 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1;
667 tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1;
782 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6
783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
791 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0
792 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) {
840 dom = MONTHLENGTH[month] + 7 * (wim + 1);
848 dom = MONTHLENGTH[month];
849 } else if (dom > MONTHLENGTH[month]) {
1186 int32_t monthLength, UErrorCode& status) const {
1187 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
2327 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) {
2330 month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status);
2362 } else if (dayOfMonth + 6 > MONTHLENGTH[month]) {
2365 int32_t nextMonthDays = dayOfMonth + 6 - MONTHLENGTH[month];
2400 startDayNum = MONTHLENGTH[month] + dayOfMonth + 1;
2448 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 0){
2451 month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status);