Lines Matching defs:tempdays
3746 long carry, tempdays, temp;
3817 * Note we use tempdays because the temporary values may need more
3822 tempdays = MAX_DAYINMONTH(r->year, r->mon);
3824 tempdays = 1;
3826 tempdays = d->day;
3828 tempdays += u->day + carry;
3831 if (tempdays < 1) {
3844 tempdays += MAX_DAYINMONTH(tyr, tmon);
3846 } else if (tempdays > (long) MAX_DAYINMONTH(r->year, r->mon)) {
3847 tempdays = tempdays - MAX_DAYINMONTH(r->year, r->mon);
3863 r->day = tempdays;