1 19 20 package jxl.write.biff; 21 22 import java.text.DateFormat ; 23 import java.util.Date ; 24 25 import jxl.DateFormulaCell; 26 import jxl.biff.FormulaData; 27 28 31 class ReadDateFormulaRecord extends ReadFormulaRecord 32 implements DateFormulaCell 33 { 34 39 public ReadDateFormulaRecord(FormulaData f) 40 { 41 super(f); 42 } 43 44 49 public Date getDate() 50 { 51 return ( (DateFormulaCell) getReadFormula()).getDate(); 52 } 53 54 60 public boolean isTime() 61 { 62 return ( (DateFormulaCell) getReadFormula()).isTime(); 63 } 64 65 66 72 public DateFormat getDateFormat() 73 { 74 return ( (DateFormulaCell) getReadFormula()).getDateFormat(); 75 } 76 } 77 | Popular Tags |