[bug-58468] implement DAYS function

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-05-28 18:15:21 +00:00
parent e40639a04d
commit 00f6289b2f
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class TestDays {
HSSFCell cell = wb.getSheetAt(0).getRow(0).createCell(12);
assertDouble(fe, cell, "DAYS(\"15-MAR-2021\",\"1-FEB-2021\")", 42, 0.00000000001);
assertDouble(fe, cell, "DAYS(A2,A3)", 364, 0.00000000001);
assertDouble(fe, cell, "DAYS(\"1-FEB-2021\", \"15-MAR-2021\")", -42, 0.00000000001);
}
}