code: public static Date addMonths(Date date, int numOfMonths) {
  		Calendar instance = Calendar.getInstance();
  		instance.setTime(date);
  		instance.add(Calendar.MONTH, numOfMonths);
  		return instance.getTime();
  	}
docs: Adds the months.
  
  @param date        the date
  @param numOfMonths the num of months
  @return the date