Searched refs:getLastModifiedTime (Results 1 – 10 of 10) sorted by relevance
268 long modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()272 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()274 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()278 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()280 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()284 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()286 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()290 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()292 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()296 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()[all …]
70 assertThat(time).isEqualTo(file.getLastModifiedTime()); in testInitialAttributes()
79 FileTime lastModified = Files.getLastModifiedTime(path); in headers()
79 return FileTime.fromMillis(file.getLastModifiedTime()); in get()184 this.lastModifiedTime = FileTime.fromMillis(file.getLastModifiedTime()); in Attributes()
95 FileTime lastModified = Files.getLastModifiedTime(path); in connect()
171 public final synchronized long getLastModifiedTime() { in getLastModifiedTime() method in File
161 modifiedTimes.put(entry.name(), entry.file().getLastModifiedTime()); in snapshotModifiedTimes()
257 assertEquals(0, Files.getLastModifiedTime(temp).toMillis()); in testTouchTime()259 assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0); in testTouchTime()
218 assertThat(jarFile.getEntry(JarFile.MANIFEST_NAME).getLastModifiedTime().toInstant()) in testManifest()
1755 return Files.getLastModifiedTime(Paths.get(path)).toMillis(); in getFileModDate()