public final class DateTimeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRecentlyModified(String lastModifiedTime,
Instant expectedLMTUpdateTime)
Tries to identify if an operation was recently executed based on the LMT of
a file or folder.
|
static long |
parseLastModifiedTime(String lastModifiedTime) |
public static long parseLastModifiedTime(String lastModifiedTime)
public static boolean isRecentlyModified(String lastModifiedTime, Instant expectedLMTUpdateTime)
lastModifiedTime - File/Folder LMTexpectedLMTUpdateTime - original request timestamp which should
have updated the LMT on targetCopyright © 2008–2024 Apache Software Foundation. All rights reserved.