Class DateWriter

All Implemented Interfaces:
ResultWriter

public class DateWriter extends AbstractResultWriter
Generic writer implementation that writes date values from a result set. This writer use ResultSet.getDate(int) to read data from the result set and the FastDateFormat.format(java.util.Date) to format the value.
Since:
3.1
Author:
Nicklas
Last modified
$Date$
  • Field Details

    • dateFormat

      private final org.apache.commons.lang3.time.FastDateFormat dateFormat
  • Constructor Details

    • DateWriter

      public DateWriter(ResultSet rs, int index, Writer writer, char[] nullEscape, org.apache.commons.lang3.time.FastDateFormat dateFormat)
  • Method Details