You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by María Valeria Salviati <vs...@technisys.net> on 2003/12/03 16:20:06 UTC
Currency formated cells
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: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org
Re: Currency formated cells
Posted by Mauro Daniel Ardolino <ma...@altersoft.com.ar>.
May be this can help you:
http://www.mail-archive.com/poi-user@jakarta.apache.org/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: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>
--
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar
.~.
/v\
// \\ "In Linux we trust"
/( )\
^^-^^
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org