Skip to content
New issue

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

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

Already on GitHub? # to your account

Time zone information from date stamps is lost #112

Closed
unguiculus opened this issue Nov 5, 2014 · 0 comments
Closed

Time zone information from date stamps is lost #112

unguiculus opened this issue Nov 5, 2014 · 0 comments

Comments

@unguiculus
Copy link
Contributor

GCViewer parse date stamps correctly but turns them into Date objects. Unfortunatley, this is due to restrictions in the Date API. A Date does not handle time zones and a date string can only be parsed into a Date using SimpleDateFormatter.

As a solution, GCViewer should update to Java 8 and use the new Date and Time API which allows to parse a date stamp into a ZonedDateTime object.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants