|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.write.biff.CellValue
jxl.write.biff.DateRecord
A date stored in the database
| Nested Class Summary | |
protected static class |
DateRecord.GMTDate
Class definition for a dummy variable |
| Field Summary |
| Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
| Constructor Summary | |
protected |
DateRecord(DateCell dc)
Constructor invoked when copying a readable spreadsheet |
protected |
DateRecord(int c,
int r,
java.util.Date d)
Constructor invoked by the user API |
protected |
DateRecord(int c,
int r,
java.util.Date d,
CellFormat st)
Constructor invoked from the user API |
protected |
DateRecord(int c,
int r,
java.util.Date d,
CellFormat st,
boolean tim)
Constructor invoked from the API |
protected |
DateRecord(int c,
int r,
java.util.Date d,
CellFormat st,
DateRecord.GMTDate a)
Constructor invoked from the user API |
protected |
DateRecord(int c,
int r,
java.util.Date d,
DateRecord.GMTDate a)
Constructor invoked by the user API |
protected |
DateRecord(int c,
int r,
DateRecord dr)
Copy constructor |
| Method Summary | |
java.lang.String |
getContents()
Quick and dirty function to return the contents of this cell as a string. |
byte[] |
getData()
Gets the binary data for writing |
java.util.Date |
getDate()
Gets the date contained in this cell |
java.text.DateFormat |
getDateFormat()
Gets the DateFormat used to format the cell. |
CellType |
getType()
Returns the content type of this cell |
boolean |
isTime()
Indicates whether the date value contained in this cell refers to a date, or merely a time. |
protected void |
setDate(java.util.Date d)
Sets the date in this cell |
protected void |
setDate(java.util.Date d,
DateRecord.GMTDate a)
Sets the date in this cell, taking the timezone into account |
| Methods inherited from class jxl.write.biff.CellValue |
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeComment, setCellFeatures, setCellFormat |
| Methods inherited from class jxl.biff.WritableRecordData |
getBytes |
| Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jxl.write.WritableCell |
copyTo |
| Constructor Detail |
protected DateRecord(int c,
int r,
java.util.Date d)
c - the columnr - the rowd - the date
protected DateRecord(int c,
int r,
java.util.Date d,
DateRecord.GMTDate a)
c - the columnr - the rowd - the datea - adjust timezone
protected DateRecord(int c,
int r,
java.util.Date d,
CellFormat st)
c - the columnr - the rowst - the format for the dated - the date
protected DateRecord(int c,
int r,
java.util.Date d,
CellFormat st,
DateRecord.GMTDate a)
c - the columnr - the rowst - the format for the dated - the datea - adjust for the timezone
protected DateRecord(int c,
int r,
java.util.Date d,
CellFormat st,
boolean tim)
c - the columnr - the rowst - the date formattim - time indicatord - the dateprotected DateRecord(DateCell dc)
dc - the date to copy
protected DateRecord(int c,
int r,
DateRecord dr)
c - the columnr - the rowdr - the record to copy| Method Detail |
public CellType getType()
public byte[] getData()
getData in class CellValuepublic java.lang.String getContents()
protected void setDate(java.util.Date d)
d - the date
protected void setDate(java.util.Date d,
DateRecord.GMTDate a)
d - the datea - adjust for timezonepublic java.util.Date getDate()
public boolean isTime()
public java.text.DateFormat getDateFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||