com.jrefinery.workbook
Class DateCell

java.lang.Object
  |
  +--com.jrefinery.workbook.Cell
        |
        +--com.jrefinery.workbook.DateCell
All Implemented Interfaces:
java.lang.Comparable

public class DateCell
extends Cell

A worksheet cell that contains a date.


Fields inherited from class com.jrefinery.workbook.Cell
column, content, DATE, EXPRESSION, LABEL, row, VALUE, valueFormat, valueType
 
Constructor Summary
DateCell(int column, int row, com.jrefinery.workbook.SerialDate date)
          Standard constructor.
 
Method Summary
 void writeCell(java.io.PrintStream out, java.lang.String indent)
          Write the cell element.
 
Methods inherited from class com.jrefinery.workbook.Cell
compareTo, getSerialNumber, writeContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateCell

public DateCell(int column,
                int row,
                com.jrefinery.workbook.SerialDate date)
Standard constructor.
Parameters:
column - The column.
row - The row.
date - The date.
Method Detail

writeCell

public void writeCell(java.io.PrintStream out,
                      java.lang.String indent)
Write the cell element. So far, it will work for labels, numbers and expressions. Of course, the intention is to ensure that it works for all types.
Overrides:
writeCell in class Cell
Parameters:
out - The output stream.
indent - The indentation.