org.pentaho.reporting.libraries.formula.util
public class HSSFDateUtil extends Object
Method Summary | |
---|---|
static int | computeZeroDate(String config, boolean excelBugCompatible) |
static BigDecimal | getExcelDate(Date date) |
static BigDecimal | getExcelDate(Date date, boolean excelBugCompatible, int zeroDate) |
static Date | getJavaDate(BigDecimal date)
Given a excel date, converts it into a Date. |
static Date | getJavaDate(BigDecimal date, boolean excelBugCompatible, int zeroDate) |
Parameters: date the Excel Date
Returns: Java representation of a date (null if error)