Bug 44148 - Unable to identify the Date Cells and Numeric Cells When Custom Formats Defined
Summary: Unable to identify the Date Cells and Numeric Cells When Custom Formats Defined
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: Other Windows XP
: P5 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 01:19 UTC by balamurugan
Modified: 2007-12-28 21:17 UTC (History)
0 users



Attachments
Sample of XLS sheet with Custom Date Formatted Cells (42.00 KB, application/octet-stream)
2007-12-28 01:26 UTC, balamurugan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description balamurugan 2007-12-28 01:19:08 UTC
The System is unable to differentiate the Date formatted cells with numeric cells.

The scenario below: When a cell is date formatted (Custom Formats are Defined),
If the given input is date then, the HSSFDateUtil.isCellDateFormatted() returns
false. And the user unable to read the exact format given in the Cell itself.

The Validation given for the HSSFDateUtil.isCellDateFormatted() is limited to
certain built-in formats only. The Custom format which includes d,m,y (Format
sample dd/MM/yyyy hh:mm,dd/MM/yyyy,etc.,) is a simple date format. The given
formats should be treated as date formats.
Comment 1 balamurugan 2007-12-28 01:26:57 UTC
Created attachment 21326 [details]
Sample of XLS sheet with Custom Date Formatted Cells
Comment 2 Andy Oliver 2007-12-28 21:17:56 UTC
hey we have a cool thing called a mail list....rather than filing a lot of bug
reports of things that may not be or probably aren't bugs....maybe you could
like confirm on the list first?