public static Date updated(Date self,Map<Object,Integer> updates){
  Calendar cal=Calendar.getInstance();
  cal.setTime(self);
  set(cal,updates);
  return cal.getTime();
}

public static Date updated ( Date self , Map < Object , Integer > updates ) { Calendar cal = Calendar . getInstance ( ) ; cal . setTime ( self ) ; set ( cal , updates ) ; return cal . getTime ( ) ; }
legacy alias for copywith . will be deprecated and removed in future versions of groovy .
