https://issues.apache.org/bugzilla/show_bug.cgi?id=48924
Summary: [Patch] Added a getDate method to DateAndTime that
returns Calendar
Product: POI
Version: 3.7-dev
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: HWPF
AssignedTo: [email protected]
ReportedBy: [email protected]
Currently there is no easy way to get any useful information out of
org.apache.poi.hwpf.usermodel.DateAndTime, so I added a added a getDate()
method that returns the date and time as a java.util.Calendar. I am already
using this in production code and thought it would be useful to others.
Note: it currently uses Calendar.getInstance() to get the default time-zone and
localization - I don't know if the word binary format stores any localization
data but if it does this code may need a further enhancement to initialize the
Calendar with said data.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]