Save This Page
Home » jexcelapi_2_6_8 » jxl.write » [javadoc | source]
jxl.write
public class: DateFormat [javadoc | source]
java.lang.Object
   jxl.biff.RecordData
      jxl.biff.WritableRecordData
         jxl.biff.FormatRecord
            jxl.write.biff.DateFormatRecord
               jxl.write.DateFormat

All Implemented Interfaces:
    DisplayFormat, Format, ByteData

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
Fields inherited from jxl.biff.FormatRecord:
logger,  biff8,  biff7
Fields inherited from jxl.biff.WritableRecordData:
maxRecordLength
Constructor:
 public DateFormat(String format) 
    Constructor. The date format that is passed should comply to the standard Java date formatting conventions
    Parameters:
    format - the date format
Methods from jxl.biff.FormatRecord:
equals,   getData,   getDateFormat,   getFormatIndex,   getFormatString,   getIndexCode,   getNumberFormat,   hashCode,   initialize,   isBuiltIn,   isDate,   isInitialized,   isNumber,   replace,   setFormatString
Methods from jxl.biff.WritableRecordData:
getBytes,   getData
Methods from jxl.biff.RecordData:
getCode,   getRecord
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait