protected void writeDate(Date date,CharBuf buffer){
  SimpleDateFormat formatter=new SimpleDateFormat(dateFormat,dateLocale);
  formatter.setTimeZone(timezone);
  buffer.addQuoted(formatter.format(date));
}

protected void writeDate ( Date date , CharBuf buffer ) { SimpleDateFormat formatter = new SimpleDateFormat ( dateFormat , dateLocale ) ; formatter . setTimeZone ( timezone ) ; buffer . addQuoted ( formatter . format ( date ) ) ; }
serializes date and writes it into specified buffer .
