[
https://issues.apache.org/jira/browse/IO-676?focusedWorklogId=467272&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-467272
]
ASF GitHub Bot logged work on IO-676:
-------------------------------------
Author: ASF GitHub Bot
Created on: 06/Aug/20 13:12
Start Date: 06/Aug/20 13:12
Worklog Time Spent: 10m
Work Description: Isira-Seneviratne commented on pull request #124:
URL: https://github.com/apache/commons-io/pull/124#issuecomment-669918063
>
>
> @Isira-Seneviratne @chtompki
>
> Here is another thought which I think will give us more bang for the buck:
>
> All of these `FileUtils` time comparison APIs should convert their input
`File` object to a`Path` with `toPath()` and forward the calls to `PathUtils`
which opens the feature to any backing NIO file system, not old school `File`
objects.
That sounds like a good idea.
However, there's a potential issue in that those methods would become
unusable on most versions of Android, since the `java.nio.file` package is only
supported on Android Oreo and higher (admittedly, I'm not sure if any Android
apps will need to make use of those methods, and it's possible that the package
[will be made available](https://issuetracker.google.com/issues/154309654) to
all versions of Android via
[desugaring](https://developer.android.com/studio/write/java8-support-table)).
Other than that, sounds good to me :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 467272)
Time Spent: 3h 40m (was: 3.5h)
> Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time
> API.
> ----------------------------------------------------------------------------------
>
> Key: IO-676
> URL: https://issues.apache.org/jira/browse/IO-676
> Project: Commons IO
> Issue Type: Improvement
> Components: Utilities
> Reporter: Isira Seneviratne
> Priority: Major
> Fix For: 2.8
>
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)