Class ExcelValue.DateValue

java.lang.Object
net.sf.basedb.util.excel.ExcelValue<Date>
net.sf.basedb.util.excel.ExcelValue.DateValue
Enclosing class:
ExcelValue<T>

static class ExcelValue.DateValue extends ExcelValue<Date>
Represents a cell with a date value. Note that date cells are actually cells with a numeric value and a date-like format string.
  • Constructor Details

    • DateValue

      DateValue(Date value, String format)
  • Method Details

    • writeTo

      public void writeTo(org.apache.poi.ss.usermodel.Cell cell, CellStyleCreator styleCreator)
      Description copied from class: ExcelValue
      Write the value to the given cell and apply a format to it with the help of the style creator. If no style creator is given, the cell is not formatted.
      Specified by:
      writeTo in class ExcelValue<Date>