Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for per-getter formats and Calendar class #49

Open
charvolant opened this issue Dec 2, 2016 · 0 comments
Open

Support for per-getter formats and Calendar class #49

charvolant opened this issue Dec 2, 2016 · 0 comments

Comments

@charvolant
Copy link

charvolant commented Dec 2, 2016

At the moment, the only way to get something formatted as a date is for the getter to return a Date object.

I have a number of date/time instances across different timezones, where I need to put the date/time value into the spreadsheet as a double reflecting the localised date/time. (eg. A sighting at 2016-12-02T00:23:00Z should appear in the spreadsheet as 2016-12-02 10:23:00 if the sighting is in Brisbane and 2016-12-02 08:23:00 if the sighting is in Perth)

Ideally, I would like to implement a Getter that is able to specify the format of the cell that the getter fills. However, I would also like to be able to use the Calendar class that POI supports.

@charvolant charvolant changed the title Support for per-getter f Support for per-getter formats and Calendar class Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant