jxl
Interface DateCell
- Cell
- DateFormulaCell
- DateTime
public interface DateCell
A date cell
Date | getDate() - Gets the date contained in this cell
|
DateFormat | getDateFormat() - Gets the DateFormat used to format the cell.
|
boolean | isTime() - Indicates whether the date value contained in this cell refers to a date,
or merely a time
|
getDate
public Date getDate()
Gets the date contained in this cell
getDateFormat
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.
- the DateFormat object used to format the date in the original
excel cell
isTime
public boolean isTime()
Indicates whether the date value contained in this cell refers to a date,
or merely a time
- TRUE if the value refers to a time