jxl.write
Class DateFormat

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.biff.FormatRecord
                    |
                    +--jxl.write.biff.DateFormatRecord
                          |
                          +--jxl.write.DateFormat
All Implemented Interfaces:
ByteData, DisplayFormat, Format

public class DateFormat
extends DateFormatRecord
implements DisplayFormat

A custom user defined number format which may be instantiated within user applications in order to present date and time values in the appropriate format. The string format used to create a DateFormat adheres to the standard java specification, and JExcelApi makes the necessary modifications so that it is rendered as its nearest equivalent in Excel. Once created, this may be used within a CellFormat object, which in turn is a parameter passed to the constructor of the DateTime cell


Inner classes inherited from class jxl.biff.FormatRecord
FormatRecord.BiffType
 
Fields inherited from class jxl.biff.FormatRecord
biff7, biff8, data, date, dateStrings, format, formatString, indexCode, initialized, number
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
DateFormat(java.lang.String format)
          Constructor.
 
Methods inherited from class jxl.biff.FormatRecord
equals, getData, getDateFormat, getFormatIndex, getFormatString, getIndexCode, getNumberFormat, initialize, isBuiltIn, isDate, isInitialized, isNumber, replace, setFormatString
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes, handleContinueRecords
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface jxl.biff.DisplayFormat
getFormatIndex, initialize, isBuiltIn, isInitialized
 

Constructor Detail

DateFormat

public DateFormat(java.lang.String format)
Constructor. The date format that is passed should comply to the standard Java date formatting conventions
Parameters:
format -