diff options
author | Nick Burch <nick@apache.org> | 2007-12-04 17:06:57 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2007-12-04 17:06:57 +0000 |
commit | 612d99b8eba46cc7ce9a9c790082121d9849a6fb (patch) | |
tree | c318c912ebb6b64ff6f7ec301f9ccaa2df05211b /src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java | |
parent | 8f17ad442d0b811bfc14e5872afb434c115c6c2b (diff) | |
download | poi-612d99b8eba46cc7ce9a9c790082121d9849a6fb.tar.gz poi-612d99b8eba46cc7ce9a9c790082121d9849a6fb.zip |
Support 1904 date windowing, in addition to 1900 date windowing (patch from bug #43551)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601004 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java b/src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java index f53b2f88da..7f2819433b 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java @@ -63,7 +63,7 @@ public class TestReadWriteChart //System.out.println("first assertion for date"); assertEquals(new GregorianCalendar(2000, 0, 1, 10, 51, 2).getTime(), HSSFDateUtil - .getJavaDate(firstCell.getNumericCellValue())); + .getJavaDate(firstCell.getNumericCellValue(), false)); HSSFRow row = sheet.createRow(( short ) 15); HSSFCell cell = row.createCell(( short ) 1); |