Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8030864

Add an efficient getDateTimeMillis method to java.time

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b114

      Description

      Add an efficient/fast/garbage free getDateTimeMillis method.

      That converts to epoch time without creating garbage. There doesn't seem to be an equivalent garbage free method on the new API, and this looks like an oversight.

      Conversion to epoch is important and doing it efficiently was a core reason many where using JodaTime. It would be a shame to lose it.

        Issue Links

          Activity

          rriggs Roger Riggs created issue -
          msheppar Mark Sheppard made changes -
          Field Original Value New Value
          Status New [ 10000 ] Open [ 1 ]
          msheppar Mark Sheppard made changes -
          Assignee Roger Riggs [ rriggs ]
          rriggs Roger Riggs made changes -
          Fix Version/s tbd_major [ 11972 ]
          rriggs Roger Riggs made changes -
          Fix Version/s 9 [ 14949 ]
          Fix Version/s tbd_major [ 11972 ]
          rriggs Roger Riggs made changes -
          Fix Version/s tbd_major [ 11972 ]
          Fix Version/s 9 [ 14949 ]
          rriggs Roger Riggs made changes -
          Fix Version/s 9 [ 14949 ]
          Fix Version/s tbd_major [ 11972 ]
          ntv Nadeesh Tv (Inactive) made changes -
          Assignee Roger Riggs [ rriggs ] Nadeesh Tv [ ntv ]
          ntv Nadeesh Tv (Inactive) made changes -
          Assignee Nadeesh Tv [ ntv ]
          rriggs Roger Riggs made changes -
          Link This issue relates to JDK-8143413 [ JDK-8143413 ]
          rriggs Roger Riggs made changes -
          Assignee Roger Riggs [ rriggs ]
          ntv Nadeesh Tv (Inactive) made changes -
          Assignee Roger Riggs [ rriggs ] Nadeesh Tv [ ntv ]
          ntv Nadeesh Tv (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Understanding Fix Understood [ 10001 ]
          dbessono Dmitry Bessonov made changes -
          Link This issue relates to JCK-7302970 [ JCK-7302970 ]
          hgupdate HG Updates made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolved In Build team [ 17324 ]
          Understanding Fix Understood [ 10001 ]
          Resolution Fixed [ 1 ]
          hgupdate HG Updates made changes -
          Resolved In Build team [ 17324 ] master [ 18256 ]
          hgupdate HG Updates made changes -
          Resolved In Build master [ 18256 ] b114 [ 17713 ]
          iris Iris Clark made changes -
          Labels jsr310 jsr310 jsr379-annex2-tbd
          iris Iris Clark made changes -
          Labels jsr310 jsr379-annex2-tbd jsr310 jsr379-annex1
          darcy Joe Darcy made changes -
          Link This issue csr of CCC-8030864 [ CCC-8030864 ]

            People

            • Assignee:
              ntv Nadeesh Tv (Inactive)
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: