A date which is stored in the cell
| Method from jxl.read.biff.DateRecord Detail: |
public CellFeatures getCellFeatures() {
return features;
}
Accessor for the cell features |
public CellFormat getCellFormat() {
if (!initialized)
{
cellFormat = formattingRecords.getXFRecord(xfIndex);
initialized = true;
}
return cellFormat;
}
Gets the CellFormat object for this cell. Used by the WritableWorkbook
API |
public final int getColumn() {
return column;
}
Interface method which returns the column number of this cell |
public String getContents() {
return format.format(date);
}
Gets the cell contents as a string. This method will use the java
equivalent of the excel formatting string |
public Date getDate() {
return date;
}
|
public DateFormat getDateFormat() {
Assert.verify(format != null);
return format;
}
Gets the DateFormat used to format the cell. This will normally be
the format specified in the excel spreadsheet, but in the event of any
difficulty parsing this, it will revert to the default date/time format. |
public final int getRow() {
return row;
}
Interface method which returns the row number of this cell |
protected final SheetImpl getSheet() {
return sheet;
}
|
public CellType getType() {
return CellType.DATE;
}
Accessor for the cell type |
public boolean isHidden() {
ColumnInfoRecord cir = sheet.getColumnInfo(column);
if (cir != null && cir.getWidth() == 0)
{
return true;
}
RowRecord rr = sheet.getRowInfo(row);
if (rr != null && (rr.getRowHeight() == 0 || rr.isCollapsed()))
{
return true;
}
return false;
}
Determines whether or not this cell has been hidden |
public boolean isTime() {
return time;
}
Indicates whether the date value contained in this cell refers to a date,
or merely a time |
public void setCellFeatures(CellFeatures cf) {
features = cf;
}
|