Class AbstractDateCellWriter<T>

java.lang.Object
ch.tocco.nice2.reporting.impl.dynamic.poiss.AbstractDateCellWriter<T>
All Implemented Interfaces:
CellWriter
Direct Known Subclasses:
DateCellWriter, DateTimeCellWriter, TimeCellWriter

public abstract class AbstractDateCellWriter<T> extends Object implements CellWriter
  • Field Details

    • format

      protected String format
  • Constructor Details

    • AbstractDateCellWriter

      public AbstractDateCellWriter(org.slf4j.Logger log, L10N l10N)
  • Method Details

    • getFormat

      public abstract String getFormat(Locale locale)
    • setFormat

      public void setFormat(String format)
    • writeCell

      public Object writeCell(org.apache.poi.ss.usermodel.Workbook workbook, org.apache.poi.ss.usermodel.CreationHelper creationHelper, org.apache.poi.ss.usermodel.Cell cell, Object value, Object state, org.joda.time.DateTimeZone timeZone)
      Specified by:
      writeCell in interface CellWriter
    • getCellValue

      protected abstract Calendar getCellValue(T dateObject, org.joda.time.DateTimeZone timeZone)