Package jxl

Interface DateCell

  • All Superinterfaces:
    Cell
    All Known Subinterfaces:
    DateFormulaCell
    All Known Implementing Classes:
    DateTime

    public interface DateCell
    extends Cell
    A date cell
    • Method Detail

      • getDate

        java.util.Date getDate()
        Gets the date contained in this cell
        Returns:
        the cell contents
      • isTime

        boolean isTime()
        Indicates whether the date value contained in this cell refers to a date, or merely a time
        Returns:
        TRUE if the value refers to a time
      • getDateFormat

        java.text.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.
        Returns:
        the DateFormat object used to format the date in the original excel cell