Bug 15037 - [PATCH] Unit tests for 1904 date windowing
Summary: [PATCH] Unit tests for 1904 date windowing
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: Other All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-03 22:42 UTC by Dan Sherman
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Patch file w/ additions to TestHSSFCell and TestHSSFDateUtil (4.28 KB, patch)
2002-12-03 22:44 UTC, Dan Sherman
Details | Diff
New data files needed for the unit test; bz2 compressed tar archive; place files in src/testcases/org/apache/poi/hssf/data/ (2.94 KB, application/octet-stream)
2002-12-03 22:50 UTC, Dan Sherman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Sherman 2002-12-03 22:42:03 UTC
As requested in comments of bug# 14375 ("[PATCH] Fix for reading files that use
1904 date windowing"), here are unit tests for the date conversion in
HSSFDateUtil and the correct use of that conversion in HSSFCell based on the
detection of the type of windowing used by the particular workbook file. 
Attachments include patch & new test data files (files created by Excel).
Comment 1 Dan Sherman 2002-12-03 22:44:16 UTC
Created attachment 4030 [details]
Patch file w/ additions to TestHSSFCell and TestHSSFDateUtil
Comment 2 Dan Sherman 2002-12-03 22:50:12 UTC
Created attachment 4031 [details]
New data files needed for the unit test; bz2 compressed tar archive; place files in src/testcases/org/apache/poi/hssf/data/
Comment 3 Avik Sengupta 2002-12-12 09:04:13 UTC
applied. Thanks.