add_months


Description:

public void add_months (uint n_months)

Increments a date by some number of months.

If the day of the month is greater than 28, this routine may change the day of the month (because the destination month may not have the current day in it). The date must be valid.

Parameters:

this

a Date to increment

n_months

number of months to move forward