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