> Date: Mon, 10 Dec 2007 18:54:55 +0000
> From: [EMAIL PROTECTED]
> Take a look at HSSFDateUtil.isCellDateFormatted(cell) for how to get the
> underlying format string as well as the format id
I've been playing around with HSSFDateUtil.isCellDateFormatted and noticed that
it fails
when a date has a the "mm/dd/yy;@" format.
I figured that this was maybe an Internal Date Format, so I tried to use
HSSFDateUtil.isCellInternalDateFormatted,
(as noted:
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFDateUtil.html#isCellInternalDateFormatted(org.apache.poi.hssf.usermodel.HSSFCell))
but received a "cannot find symbol" error from javac. I'm using what appears to
be the latest release, poi-bin-3.0.1-FINAL-20070705, yet it appears that this
method is not in the class.
[EMAIL PROTECTED] /cygdrive/c/Documents and
Settings/dh/java/poi-3.0.1-FINAL/poi-3.0.1-FINAL-20070705/org/apache/poi/hssf/usermodel
$ strings HSSFDateUtil.class | grep isCell
isCellDateFormatted
Thanks
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate. Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline