first commit
This commit is contained in:
24
hrmsEjb/jxl/write/biff/ReadDateFormulaRecord.java
Normal file
24
hrmsEjb/jxl/write/biff/ReadDateFormulaRecord.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package jxl.write.biff;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.util.Date;
|
||||
import jxl.DateFormulaCell;
|
||||
import jxl.biff.FormulaData;
|
||||
|
||||
class ReadDateFormulaRecord extends ReadFormulaRecord implements DateFormulaCell {
|
||||
public ReadDateFormulaRecord(FormulaData f) {
|
||||
super(f);
|
||||
}
|
||||
|
||||
public Date getDate() {
|
||||
return ((DateFormulaCell)getReadFormula()).getDate();
|
||||
}
|
||||
|
||||
public boolean isTime() {
|
||||
return ((DateFormulaCell)getReadFormula()).isTime();
|
||||
}
|
||||
|
||||
public DateFormat getDateFormat() {
|
||||
return ((DateFormulaCell)getReadFormula()).getDateFormat();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user