public static Date addMinutes(Date d, int minutes) {
        Calendar cal = Calendar.getInstance();
        cal.setTime(d);
        cal.add(Calendar.MINUTE, minutes);
        return cal.getTime();
    }
public static Date addMinutes ( Date d , int minutes ) { Calendar cal = Calendar . getInstance ( ) ; cal . setTime ( d ) ; cal . add ( Calendar . MINUTE , minutes ) ; return cal . getTime ( ) ; }
Add minutes to a date

@param d date
@param minutes minutes
@return new date