code: void dateFormat(DateFormat format, String... attributes) {
          convertWith(new DateToStringConverter(format), attributes);
          convertWith(new StringToSqlDateConverter(format), attributes);
      }
docs: Registers date converters (Date -> String -> java.sql.Date) for specified model attributes.