You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Philippe Couas <pc...@infodev.fr> on 2003/08/01 18:03:31 UTC
RE : USER FORMAT
Hi,
In fact short s=cell.getCellStyle().getDataFormat(); answer 20
My format seems be hh:mm
But HSSFDateUtil.isCellDateFormatted(cell) see format like a
complete date (14)
How can obtains string value of hh:mm
This is not a date.
Thanks
Philippe
-----Message d'origine-----
De : Laubach Shawn Contr OC-ALC/PSB [mailto:Shawn.Laubach@tinker.af.mil]
Envoyé : vendredi 1 août 2003 17:56
À : 'POI Users List'
Objet : RE: USER FORMAT
The condition
"HSSFDataFormat.getBuiltinFormat(cell.getCellStyle().getDataFormat()) ==
null" will return true if the format is a custom format or false if it
is a built in format.
Shawn
-----Original Message-----
From: Philippe Couas [mailto:pcouas@infodev.fr]
Sent: Friday, August 01, 2003 10:49 AM
To: poi-user@jakarta.apache.org
Subject: USER FORMAT
How can i know if cell contains user format ?
Thanks
Philippe
Philippe COUAS
Responsable Développement
INFODEV S.A.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/