return EMPTY_DATA;
}
public void testDateConversion1904 ()
{
final FormulaContext context = getContext();
final Date januaryFirst1904 = DateUtil.createDate(1904, 1, 1, context.getLocalizationContext());
final Date januaryFirst1900 = DateUtil.createDate(1900, 1, 1, context.getLocalizationContext());
final Date marchFirst1904 = DateUtil.createDate(1904, 3, 1, context.getLocalizationContext());
final Date marchFirst1900 = DateUtil.createDate(1900, 3, 1, context.getLocalizationContext());
// these numbers must match whatever OpenOffice computes ..
assertEqual(HSSFDateUtil.getExcelDate(januaryFirst1900, false, HSSFDateUtil.computeZeroDate("1904", false)), new BigDecimal(-1460));
assertEqual(HSSFDateUtil.getExcelDate(marchFirst1900, false, HSSFDateUtil.computeZeroDate("1904", false)), new BigDecimal(-1401));
assertEqual(HSSFDateUtil.getExcelDate(januaryFirst1904, false, HSSFDateUtil.computeZeroDate("1904", false)), new BigDecimal(0));