private Date copyDate(Date date) {
        return (date != null) ? new Date(date.getTime()) : null;
    }
private Date copyDate(Date date) {
        return (date != null) ? new Date(date.getTime()) : null;
    }
private Date copyDate ( Date date ) { return ( date != null ) ? new Date ( date . getTime ( ) ) : null ; }
Copies the date, since Date objects are mutable.
Copies the date since Date objects are mutable .