poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cope, Christopher" <Christopher.C...@logicacmg.com>
Subject RE: Currency formated cells
Date Thu, 04 Dec 2003 13:54:24 GMT
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:mauro@altersoft.com.ar]
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/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

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message