public class ModificationDateTimeParser extends java.lang.Object implements SnapshotDateTimeParser
Modifier and Type | Method and Description |
---|---|
java.time.ZonedDateTime |
detectDateTime(java.nio.file.Path path)
Attempt to detect an ZonedDateTime from a path.
|
static ModificationDateTimeParser |
getInstance() |
public static ModificationDateTimeParser getInstance()
public java.time.ZonedDateTime detectDateTime(java.nio.file.Path path)
SnapshotDateTimeParser
The path is not guaranteed to exist.
detectDateTime
in interface SnapshotDateTimeParser
path
- the path