Lines Matching defs:month
121 uint_t year, month, day, hour, min, sec;
145 for (month = 1; unixtime >= 86400 * days_in_month(month, year);
146 month++)
147 unixtime -= 86400 * days_in_month(month, year);
162 PC_DPRINTF3(1, "ux2pc date: %d.%d.%d\n", day, month, YEAR_ZERO + year);
167 ASSERT(month >= 1 && month <= 12);
168 ASSERT(day >= 1 && day <= days_in_month(month, year));
176 LE_16(year << YEARSHIFT | month << MONSHIFT | day << DAYSHIFT);
192 uint_t year, month, day, hour, min, sec;
198 month = (LE_16(pctp->pct_date) >> MONSHIFT) & MONMASK;
208 month = 1;
211 if (month > 12 || month < 1 ||
212 day < 1 || day > days_in_month(month, year) ||
216 day, month, year, hour, min, sec);
221 PC_DPRINTF3(1, "pc2ux date: %d.%d.%d\n", day, month, year);
228 while (month > 1) {
229 month--;
230 *unixtime += 86400 * (int64_t)days_in_month(month, year);