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

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

XMLWordPrintable

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

      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();

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

              Created:
              Updated:
              Resolved: