Java Utililty Methods File Age Check

List of utility methods to do File Age Check

Description

The list of methods to do File Age Check are organized into topic(s).

Method

intdaysOld(File file)
Returns the number of days since a file has been modified
if (file.lastModified() < 1)
    return 0;
return milliToDay(Calendar.getInstance().getTimeInMillis() - file.lastModified());