code: public static Date addDays(Date d, int days) {
          Calendar cal = Calendar.getInstance();
          cal.setTime(d);
          cal.add(Calendar.DAY_OF_YEAR, days);
          return cal.getTime();
      }
docs: Add days to a date
  
  @param d date
  @param days days
  @return new date