Hi all,

I'm new to the list.  I've been a poi user for a year and have been
loving it.

I need to parse some date fields from an xls file, and am a bit
confused.  It seems that if a cell contains a date,
HSSFCell.getCellType() returns CELL_TYPE_NUMERIC.  If I know in advance
that the cell contains a date, I can easily convert the returned number
into a date.  But if I don't know in advance what is in the cell, how
can I determine if the cell is a date or not?

Is this something that the file format make particularly difficult, or
is it a poi implementation issue?


Thanks!

-Mike Wertheim
www.linkify.com




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

Reply via email to