Class 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 Detail

      • DateValue

        DateValue​(Date value,
                  String format)
    • Method Detail

      • 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>