I am very interested in the answer to this one.  I have been meaning to
start researching this, but just haven't gotten the time yet.  I would
gladly accept responsibility to work on this, unless anyone knows why it
WOULD NOT be possible?  It seems like an obviuos need, which scares me into
thinking there is a reason it hasn't already been done.  Anyone?

Jason Hoffman

-----Original Message-----
From: Oliver Fuerniss [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 8:26 AM
To: [EMAIL PROTECTED]
Subject: How to find out if a cell contains a Date


Hello,
i am using the poi dev version 1.5.0 and i have the following questions:
Is there an way to find out, if the current cell contains a date? The method

getCellType() delivers always CELL_TYPE_NUMERIC for my dates. Why is there
no 
constant for cell.getCellType() like HSSFCell.CELL_TYPE_DATETIME? 
Also cell.getCellStyle().getDataFormat() is always 0 (General). 
Thanx 
  Oliver

Reply via email to