Interface FileTimeSource

  • All Known Implementing Classes:
    SystemFileTimeSource

    public interface FileTimeSource
    A source of the current time as a FileTime, to enable fake time sources for testing.
    Since:
    1.3
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.file.attribute.FileTime now()
      Returns the current time according to this source as a FileTime.
    • Method Detail

      • now

        java.nio.file.attribute.FileTime now()
        Returns the current time according to this source as a FileTime.