poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject RE: XSSF SAX parser and dates
Date Wed, 17 Aug 2011 14:26:26 GMT
On Wed, 17 Aug 2011, Alan Bowsher wrote:
> Yeah, but I'm using the SAX parser.... I don't have an XSSFWorkbook
> (unless there's some way to get to it that I don't understand).

You want to look at the code of how XSSFWorkbook does it, and do something 
similar.

Nick

> -----Original Message-----
> From: Nick Burch [mailto:nick.burch@alfresco.com]
> Sent: Wednesday, August 17, 2011 7:31 AM
> To: POI Users List
> Subject: Re: XSSF SAX parser and dates
>
> On Tue, 16 Aug 2011, Alan Bowsher wrote:
>> My only question is, using the SAX parser, how do I tell if the
>> workbook is using the 1904-indexed dates?  Or is that so unlikely to
>> be used that I shouldn't worry about it?
>
> The 1900 vs 1904 date information is stored on the workbook. If you look
> at XSSFWorkbook you can see how to check for it - isDate1904()
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional
> commands, e-mail: user-help@poi.apache.org
>
>
> ________________________________________________________________________
> _____
> Scanned by IBM Email Security Management Services powered by
> MessageLabs. For more information please visit
> http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954
> ________________________________________________________________________
> _____
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>

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


Mime
View raw message