| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | setLastModifiedOf(Path
file to set lastModified time a, Path file to read lastModified time from b)Set the lastModified time of file a to the one from file b |
| public static Instant | Returns: the new lastModified timepath of a file to set last modified path, long offset in milliseconds, if negative the new lastModified time
is offset before the original lastModified time, otherwise
after the original time offsetMillis)Set the lastModified time of a given file by adding a given offset to the current lastModified time |
| TimeUtil | back to summary |
|---|---|
| public TimeUtil() | |
| setLastModifiedOf | back to summary |
|---|---|
| public static void setLastModifiedOf(Path a, Path b) Set the lastModified time of file a to the one from file b | |
| setLastModifiedWithOffset | back to summary |
|---|---|
| public static Instant setLastModifiedWithOffset(Path path, long offsetMillis) Set the lastModified time of a given file by adding a given offset to the current lastModified time | |