Hello,

I am using the HSSFDateUtil.isCellDateFormatted(cell) to determine if the field is date formatted. The problem I am running into is that it is also determining that the number format $#,###... is a date formatted object. Is there away around this?

Here is the snippet of code:

case HSSFCell.CELL_TYPE_NUMERIC:
               if ( HSSFDateUtil.isCellDateFormatted(cell) )
                  cellNames.addFirst (
                   (HSSFDateUtil.getJavaDate(cell.getNumericCellValue())).
                    toString());

Thanks,

Mike

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to