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

(fs) Add java.time.Instant methods to java.nio.file.attribute.FileTime

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 8
    • None
    • core-libs
    • None
    • b87
    • Verified

    Description

      As part of the JSR310 Date/Time project, following methods are proposed to be added into java.nio.file.attribute.FileTime to interoperate with the new JSR310 time class Instant.

      public static FileTime from(Instant instant);
      public Instant toInstant();

      Attachments

        Issue Links

          Activity

            People

              sherman Xueming Shen
              sherman Xueming Shen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: