extend tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892042 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-08-06 15:22:32 +00:00
parent eecb44281e
commit b864503d47
1 changed files with 6 additions and 1 deletions

View File

@ -74,10 +74,15 @@ final class TestDateValue {
// // EXCEL
confirmDateValue(new StringEval("8/22/2011"), 40777); // Serial number of a date entered as text.
confirmDateValue(new StringEval("8/22/2011 12:00"), 40777); // Serial number of a date entered as text.
confirmDateValue(new StringEval("22-MAY-2011"), 40685); // Serial number of a date entered as text.
confirmDateValue(new StringEval("2011/02/23"), 40597); // Serial number of a date entered as text.
//ignore time parts
confirmDateValue(new StringEval("8/22/2011 12:00"), 40777); // Serial number of a date entered as text.
confirmDateValue(new StringEval("8/22/2011 6:02:23 PM"), 40777); // Serial number of a date entered as text.
confirmDateValue(new StringEval("22-AUG-2011 6:02:23PM"), 40777); // Serial number of a date entered as text.
confirmDateValue(new StringEval("22-AUG-2011 6:02:23AM"), 40777); // Serial number of a date entered as text.
// LibreOffice compatibility
confirmDateValue(new StringEval("1954-07-20"), 19925);
} finally {