Searched refs:creationTime (Results 1 – 7 of 7) sorted by relevance
51 private static FileTime creationTime(Path file) throws IOException { in creationTime() method in BasicFileAttributeViewCreationTimeTest52 return Files.readAttributes(file, BasicFileAttributes.class).creationTime(); in creationTime()70 FileTime creationTime = creationTime(file); in test() local72 if (Math.abs(creationTime.toMillis()-now.toEpochMilli()) > 10000L) { in test()73 err.println("File creation time reported as: " + creationTime); in test()103 FileTime current = creationTime(file); in test()104 if (!current.equals(creationTime)) in test()115 creationTime = FileTime.from(minusHour); in test()116 setCreationTime(file, creationTime); in test()117 FileTime current = creationTime(file); in test()[all …]
86 FileTime creationTime(); in creationTime() method
142 public FileTime creationTime() { in creationTime() method in UnixFileAttributes286 public FileTime creationTime() { in creationTime() method in UnixFileAttributes.UnixAsBasicFileAttributes287 return attrs.creationTime(); in creationTime()
135 public FileTime creationTime() { in readAttributes() method136 return attrs.creationTime(); in readAttributes()
145 builder.add(CREATION_TIME_NAME, attrs.creationTime()); in addRequestedBasicAttributes()
137 attrs.creationTime()); in copyToForeignTarget()
7010 method public java.nio.file.attribute.FileTime creationTime();