So ... How can I recognize currency or time format?




Cope, Christopher escribi�::


HSSFDateUtil.isCellDateFormatted() or HSSFDateUtil.isInternalDateFormat()
will still return true for certain non-date formats, see bug 24125:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24125

Chris

-----Original Message-----
From: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]
Sent: 04 December 2003 12:56
To: POI Users List
Subject: Re: Currency formated cells


May be this can help you:


http://www.mail-archive.com/[EMAIL PROTECTED]/msg02087.html

Luck!

-- Mauro


On Wed, 3 Dec 2003, Mar�a Valeria Salviati wrote:




Hi,

Cells formated as Currency or as Time are recognized as Dates.

How can I recognize currency or time format?


if(cellFormat==HSSFCell.CELL_TYPE_NUMERIC) { if (HSSFDateUtil.isCellDateFormatted(cell)) { //here recognizes: date - time - currency formats } }


Thanks in advance,


Valeria


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










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



Reply via email to