|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
System.Objectxl.biff.RecordData
xl.biff.WritableRecordData
xl.write.biff.CellValue
xl.write.biff.DateRecord
xl.write.DateTime
A Date which may be created on the fly by a user application and added to a spreadsheet NOTE: By default, all dates will have local timezone information added to their UTC value. If this is not desired (eg. if the date entered represents an interval eg. 9.83s for the 100m world record, then use the overloaded constructor which indicate that the date passed in was created under the GMT timezone. It is important that when the date was created, an instruction like Calendar.setTimeZone(TimeZone.getTimeZone("GMT")) was made prior to that
Field Summary | |
static xl.write.biff.DateRecord.GMTDate |
GMT
Instance variable for dummy variable overload |
Constructor Summary | |
DateTime(DateCell dc)
A constructor called by the worksheet when creating a writable version of a spreadsheet that has been read in |
|
DateTime(int c,
int r,
System.DateTime d)
Constructor |
|
DateTime(int c,
int r,
System.DateTime d,
CellFormat st)
Constructor which takes the format for this cell |
|
DateTime(int c,
int r,
System.DateTime d,
CellFormat st,
boolean tim)
Constructor which takes the format for the cell and an indicator as to whether this cell is a full date time or purely just a time eg. |
|
DateTime(int c,
int r,
System.DateTime d,
CellFormat st,
xl.write.biff.DateRecord.GMTDate a)
Constructor, which adjusts the specified date to take time zone considerations into account |
|
DateTime(int c,
int r,
System.DateTime d,
xl.write.biff.DateRecord.GMTDate a)
Constructor, which adjusts the specified date to take time zone considerations into account |
Method Summary | |
WritableCell |
copyTo(int col,
int row)
Implementation of the deep copy function |
void |
setDate(System.DateTime d)
Sets the date for this cell |
void |
setDate(System.DateTime d,
xl.write.biff.DateRecord.GMTDate a)
Sets the date for this cell, performing the necessary time zone adjustments |
Methods inherited from class xl.write.biff.DateRecord |
getContents, getData, getDate, getDateFormat, getType, isTime |
Methods inherited from class xl.write.biff.CellValue |
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getWritableCellFeatures, isHidden, removeComment, setCellFeatures, setCellFormat |
Methods inherited from class xl.biff.WritableRecordData |
getBytes |
Methods inherited from class System.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface xl.write.WritableCell |
getWritableCellFeatures, setCellFeatures, setCellFormat |
Methods inherited from interface xl.Cell |
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHidden |
Methods inherited from interface xl.DateCell |
getDate, getDateFormat, isTime |
Field Detail |
public static readonly xl.write.biff.DateRecord.GMTDate GMT
Constructor Detail |
public DateTime(int c,
int r,
System.DateTime
d)
c
- the columnr
- the rowd
- the datepublic DateTime(int c,
int r,
System.DateTime
d,
xl.write.biff.DateRecord.GMTDate a)
c
- the columnr
- the rowd
- the datea
- dummy overloadpublic DateTime(int c,
int r,
System.DateTime
d,
CellFormat st)
c
- the columnr
- the rowst
- the formatd
- the datepublic DateTime(int c,
int r,
System.DateTime
d,
CellFormat st,
xl.write.biff.DateRecord.GMTDate a)
c
- the columnr
- the rowd
- the datest
- the cell formata
- the cummy overloadpublic DateTime(int c,
int r,
System.DateTime
d,
CellFormat st,
boolean tim)
c
- the columnr
- the rowst
- the styletim
- flag indicating that this represents a timed
- the datepublic DateTime(DateCell dc)
dc
- the date to copyMethod Detail |
public void setDate(System.DateTime
d)
d
- the datepublic void setDate(System.DateTime
d,
xl.write.biff.DateRecord.GMTDate a)
d
- the datea
- the dummy overloadpublic WritableCell copyTo(int col, int row)
copyTo
in interface WritableCell
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |