public static Date setMinutes(final Date date, final int amount) {
        return set(date, Calendar.MINUTE, amount);
    }
public static Date setMinutes ( final Date date , final int amount ) { return set ( date , Calendar . MINUTE , amount ) ; }
Sets the minute field to a date returning a new object.
The original {@code Date} is unchanged.

@param date  the date, not null
@param amount the amount to set
@return a new {@code Date} set with the specified value
@throws IllegalArgumentException if the date is null
@since 2.4