public String format(Object obj,StringBuffer toAppendTo) throws IllegalArgumentException {
  return format((Date)obj,toAppendTo);
}

public String format ( Object obj , StringBuffer toAppendTo ) throws IllegalArgumentException { return format ( ( Date ) obj , toAppendTo ) ; }
format a given object .
