Save This Page
Home » jexcelapi_2_6_8 » jxl.read.biff » [javadoc | source]
jxl.read.biff
class: DateRecord [javadoc | source]
java.lang.Object
   jxl.read.biff.DateRecord

All Implemented Interfaces:
    CellFeaturesAccessor, DateCell

Direct Known Subclasses:
    DateFormulaRecord

A date which is stored in the cell
Constructor:
 public DateRecord(NumberCell num,
    int xfi,
    FormattingRecords fr,
    boolean nf,
    SheetImpl si) 
    Constructs this object from the raw data
    Parameters:
    num - the numerical representation of this
    xfi - the java equivalent of the excel date format
    fr - the formatting records
    nf - flag indicating whether we are using the 1904 date system
    si - the sheet
Method from jxl.read.biff.DateRecord Summary:
getCellFeatures,   getCellFormat,   getColumn,   getContents,   getDate,   getDateFormat,   getRow,   getSheet,   getType,   isHidden,   isTime,   setCellFeatures
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.read.biff.DateRecord Detail:
 public CellFeatures getCellFeatures() 
    Accessor for the cell features
 public CellFormat getCellFormat() 
    Gets the CellFormat object for this cell. Used by the WritableWorkbook API
 public final int getColumn() 
    Interface method which returns the column number of this cell
 public String getContents() 
    Gets the cell contents as a string. This method will use the java equivalent of the excel formatting string
 public Date getDate() 
    Gets the date
 public DateFormat getDateFormat() 
    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() 
    Interface method which returns the row number of this cell
 protected final SheetImpl getSheet() 
    Accessor for the sheet
 public CellType getType() 
    Accessor for the cell type
 public boolean isHidden() 
    Determines whether or not this cell has been hidden
 public boolean isTime() 
    Indicates whether the date value contained in this cell refers to a date, or merely a time
 public  void setCellFeatures(CellFeatures cf) 
    Sets the cell features