poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrš Petr (EXT) <PAn...@CSAS.CZ>
Subject RE: Meaning of values of HSSFCellStyle.getDataFormat()
Date Thu, 17 Feb 2005 09:02:48 GMT
Hi Amol.

And how this should help me? There are listed the same formats as in mentioned Javadoc with
no information whether it formats cell to date or number.

Thanks,
Petr

> -----Original Message-----
> From: Amol Deshmukh [mailto:adeshmukh@hobsons-us.com]
> Sent: Wednesday, February 16, 2005 7:35 PM
> 
> "open excel document using MS Excel" > "Right click on a cell 
> (any cell)" >
> "Format cells..." > "Number" tab > select "Custom" > Scroll 
> to see more such
> cryptic values
> 
> -----Original Message-----
> From: Andrš Petr (EXT) [mailto:PAndrs@csas.cz]
> Sent: Wednesday, February 16, 2005 11:59 AM
> 
> I am bit confused by meaning of values returned by
> HSSFCellStyle.getDataFormat(). In JavaDoc values are maped to 
> some cryptic
> string values, but what is meaning of these values? I can 
> guess that some
> are probably date formats and others represent numbers, but in case of
> several I have no idea. Where can I find which formats 
> represent numbers and
> which dates? Or better piece of code that reads value from 
> cell and prints
> it with proper formatting?

---------------------------------------------------------------------
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/


Mime
View raw message