Use DateUtil.isCellDateFormatted, it works both with HSSF and XSSF.
Yegor
Hello,
I have a specific problem while the XSSF-Class in order to parse Excel 2007. In the case that an excel-cell is of a numeric type, we need to differentiate between dates and normal numbers. For the excel-2003-format we were simply using the HSSFDateUtil.isCellDateFormatted method to implement this differentiation. As I understand it, there is no equivalent method for the Xssf-Class, or? Has anybody an idea for a workaround for this problem?
Thanks a lot in advance!
With best regards,
Benedikt
</PRE>
<meta content="text/html; charset=ISO-8859-1"
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt">Diese E-Mail
und eventuell beigefügte Anhänge enthalten vertrauliche Informationen, die rechtlich besonders geschützt sein können, zum Beispiel
durch das Bankgeheimnis. Diese Informationen sind ausschließlich für die als Adressaten genannten Personen bestimmt. Wenn Sie nicht
der angeschriebene Empfänger sind oder diese E-Mail durch einen Übertragungsfehler erhalten haben, informieren Sie uns bitte sofort
per E-Mail, Telefon oder Telefax und löschen danach die vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell
beigefügten Anhänge sowie die unbefugte Weitergabe der enthaltenen Informationen an Dritte sind nicht gestattet. Wir danken für Ihre
Hilfe.<br>
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt"><br>
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt">This
e-mail message together with its attachments, if any, is confidential and may contain information subject to legal privilege,
e.g. banking secrecy. The information contained in this e-mail or its attachments is intended solely for the persons named as
addressees. If you are not the intended recipient or have received this e-mail in error, please advise us immediately by
e-mail, telephone or fax and delete this message. Any unauthorised copying of this message or unauthorised distribution of the
information contained herein is prohibited. Thank you for your co-operation.
<PRE>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]