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