Bug 22505

Summary: HSSFDateUtil.getExcelDate((java.util.Date)CO) returns -1.0 when Date > 1.1.2000
Product: POI Reporter: pbu <peter.buckenleib>
Component: HSSFAssignee: POI Developers List <dev>
Severity: blocker    
Priority: P3    
Version: 2.0-pre3   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description pbu 2003-08-18 10:21:23 UTC
I am trying to export database reports to excel files and whenever i have to put a date > 
Jan,1,2000 into a cell the call to HSSFDateUtil.getExcelDate((java.util.Date)CO) returns 
the date Dez,31,1999 works. Anything beyond that date does not work.
Comment 1 pbu 2003-08-18 10:49:03 UTC
Sorry folks, forget it please! 
It's been my fault. I accidentally took the date's display-string where the year is truncated 
to the last two digits instead of the real date with full 4 digits year.