poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bigwood, David" <dbigw...@metatomix.com>
Subject Date Cell Recognition
Date Wed, 24 Mar 2004 22:30:18 GMT
Has anybody successfully managed to recognize a date cell and differentiate
it from a numeric cell for either:

1. eventmodel
2. usermodel

And would they care to contribute a code snippet. I cannot figure out how to
do it reliably with the eventmodel and the method used in the usermodel (see
below) always returns false even even when cell is date formatted.

boolean isDate = HSSFDateUtil.isCellDateFormatted(cell);

Any insight you may have would be great.


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

View raw message