DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32150


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW




------- Additional Comments From [EMAIL PROTECTED]  2006-03-16 01:35 -------
I use the approach suggested in the Jakarta POI FAQ, 
(See code snippet below) and the issue still occurs!.

   case HSSFCell.CELL_TYPE_NUMERIC:
                    double d = cell.getNumericCellValue();
                    if (HSSFDateUtil.isCellDateFormatted(cell)) {
                        cal.setTime(HSSFDateUtil.getJavaDate(d));
                        value =
(String.valueOf(cal.get(Calendar.YEAR))).substring(2);
                        value = cal.get(Calendar.MONTH) + 1 + "/" +
cal.get(Calendar.DAY_OF_MONTH) + "/" + value;
                    } else {
                        value = "" + cell.getNumericCellValue();
                    }
                    break;

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to