[Bug 63779] New: RFE: Add support for the new Java date/time API added in Java 8

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 63779] New: RFE: Add support for the new Java date/time API added in Java 8

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63779

            Bug ID: 63779
           Summary: RFE: Add support for the new Java date/time API added
                    in Java 8
           Product: POI
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Since version 4.0.1, Apache POI requires Java 8. In that Java version, the new
date/time API was introduced which is both easier to use and less error prone
than the old (and flawed) API consisting of java.util.Date etc.

Client code that uses the new LocalDate and LocalDateTime classes nonetheless
has to convert dates to the now somewhat obsolete old classes when dealing with
POI. To leverage this, support for LocalDate/LocalDateTime should be added to
POI, namely the Cell interface and DateUtil class.

Since the old java.util.Date based API is still used by a lot of client code,
support should be added in a backwards compatible way.

I volunteer to add this support, as well as doing some cleanup of the date/time
handling.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63779] RFE: Add support for the new Java date/time API added in Java 8

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63779

Axel Howind <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |63794


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=63794
[Bug 63794] Code on Github Mirror does not compile
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63779] RFE: Add support for the new Java date/time API added in Java 8

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63779

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Dominik Stadler <[hidden email]> ---
Patch is applied via r1868198, thanks a lot for the implementation work!

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 63779] RFE: Add support for the new Java date/time API added in Java 8

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=63779

--- Comment #2 from PJ Fanning <[hidden email]> ---
Should we have `@since` annotations on the new methods?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]