Lines Matching refs:mdays
420 int mdays, ydays, ldays; in AddDays() local
432 mdays = _gAfxGetMonthDays(y, m); in AddDays()
433 if (d > mdays) { in AddDays()
435 d -= mdays; in AddDays()
439 mdays = _gAfxGetMonthDays(y, m) - d + 1; in AddDays()
440 while (ldays >= mdays) { in AddDays()
441 ldays -= mdays; in AddDays()
444 mdays = _gAfxGetMonthDays(y, m); in AddDays()
457 mdays = _gAfxGetMonthDays(y, m); in AddDays()
458 if (d > mdays) { in AddDays()
460 d -= mdays; in AddDays()
467 mdays = _gAfxGetMonthDays(y, m); in AddDays()
468 d = mdays; in AddDays()