Home | History | Annotate | Download | only in i18n

Lines Matching defs:MONTHLENGTH

77 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
263 int32_t maxDayOfMonth = Grego::monthLength(year, month);
563 days[i] = MONTHLENGTH[month] + days[i] + 1;
607 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1;
666 tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1;
781 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6
782 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
790 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0
791 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) {
839 dom = MONTHLENGTH[month] + 7 * (wim + 1);
847 dom = MONTHLENGTH[month];
848 } else if (dom > MONTHLENGTH[month]) {
1191 int32_t monthLength, UErrorCode& status) const {
1192 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
2332 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) {
2335 month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime, status);
2367 } else if (dayOfMonth + 6 > MONTHLENGTH[month]) {
2370 int32_t nextMonthDays = dayOfMonth + 6 - MONTHLENGTH[month];
2405 startDayNum = MONTHLENGTH[month] + dayOfMonth + 1;
2453 } else if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 0){
2456 month, -1*((MONTHLENGTH[month] - dayOfMonth)/7 + 1), dayOfWeek, startTime, untilTime, status);