Home
last modified time | relevance | path

Searched refs:isFileNewer (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileUtilsFileNewerTest.java111 …assertEquals(wantedResult, FileUtils.isFileNewer(file, fileTime), () -> description + " - FileTime… in testIsFileNewer()
112 …assertEquals(wantedResult, FileUtils.isFileNewer(file, fileTime.toInstant()), () -> description + … in testIsFileNewer()
117 …assertEquals(wantedResult, FileUtils.isFileNewer(file, temporaryFile), () -> description + " - fil… in testIsFileNewer()
147 …assertThrows(NullPointerException.class, () -> FileUtils.isFileNewer(testFile1, (Date) null), "dat… in testIsFileNewerNoDate()
158 assertThrows(NullPointerException.class, () -> FileUtils.isFileNewer(null, 0), "file"); in testIsFileNewerNoFile()
169 …assertThrows(NullPointerException.class, () -> FileUtils.isFileNewer(testFile1, (File) null), "ref… in testIsFileNewerNoFileReference()
DFileUtilsTest.java1712 assertFalse(FileUtils.isFileNewer(oldFile, refFile), "Old File - Newer - File");
1713 assertFalse(FileUtils.isFileNewer(oldFile, date), "Old File - Newer - Date");
1714 assertFalse(FileUtils.isFileNewer(oldFile, now), "Old File - Newer - Mili");
1715 assertFalse(FileUtils.isFileNewer(oldFile, instant), "Old File - Newer - Instant");
1716 … assertFalse(FileUtils.isFileNewer(oldFile, zonedDateTime), "Old File - Newer - ZonedDateTime");
1717 … assertFalse(FileUtils.isFileNewer(oldFile, offsetDateTime), "Old File - Newer - OffsetDateTime");
1718 … assertFalse(FileUtils.isFileNewer(oldFile, localDateTime), "Old File - Newer - LocalDateTime");
1719 …assertFalse(FileUtils.isFileNewer(oldFile, localDateTime, ZoneId.systemDefault()), "Old File - New…
1720 assertFalse(FileUtils.isFileNewer(oldFile, localDate), "Old File - Newer - LocalDate");
1721 …assertTrue(FileUtils.isFileNewer(oldFile, localDate, localTime0), "Old File - Newer - LocalDate,Lo…
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileUtils.java1540 public static boolean isFileNewer(final File file, final ChronoLocalDate chronoLocalDate) { in isFileNewer() method in FileUtils
1541 return isFileNewer(file, chronoLocalDate, LocalTime.MAX); in isFileNewer()
1561 …public static boolean isFileNewer(final File file, final ChronoLocalDate chronoLocalDate, final Lo… in isFileNewer() method in FileUtils
1564 return isFileNewer(file, chronoLocalDate.atTime(localTime)); in isFileNewer()
1579 …public static boolean isFileNewer(final File file, final ChronoLocalDate chronoLocalDate, final Of… in isFileNewer() method in FileUtils
1582 return isFileNewer(file, chronoLocalDate.atTime(offsetTime.toLocalTime())); in isFileNewer()
1601 …public static boolean isFileNewer(final File file, final ChronoLocalDateTime<?> chronoLocalDateTim… in isFileNewer() method in FileUtils
1602 return isFileNewer(file, chronoLocalDateTime, ZoneId.systemDefault()); in isFileNewer()
1617 …public static boolean isFileNewer(final File file, final ChronoLocalDateTime<?> chronoLocalDateTim… in isFileNewer() method in FileUtils
1620 return isFileNewer(file, chronoLocalDateTime.atZone(zoneId)); in isFileNewer()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/filefilter/
DAgeFileFilter.java183 return acceptOlder != FileUtils.isFileNewer(file, cutoffInstant); in accept()
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DTailerTest.java101 return FileUtils.isFileNewer(file, fileTime); in isNewer()
/external/apache-commons-io/
DRELEASE-NOTES.txt181 o IO-676: Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time API. #124.…
854 * [IO-231] FileUtils - fix wrong exception message generated in isFileNewer() method
1158 to the existing isFileNewer() methods.
/external/apache-commons-io/src/changes/
Drelease-notes.vm211 o IO-676: Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time API. #124.…
884 * [IO-231] FileUtils - fix wrong exception message generated in isFileNewer() method
1188 to the existing isFileNewer() methods.