public static Calendar updated(Calendar self,Map<Object,Integer> updates){
  Calendar result=(Calendar)self.clone();
  set(result,updates);
  return result;
}

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