Package com.sk89q.worldedit.util.time
Class ModificationDateTimeParser
java.lang.Object
com.sk89q.worldedit.util.time.ModificationDateTimeParser
- All Implemented Interfaces:
SnapshotDateTimeParser
-
Method Summary
Modifier and TypeMethodDescriptiondetectDateTime
(Path path) Attempt to detect an ZonedDateTime from a path.static ModificationDateTimeParser
-
Method Details
-
getInstance
-
detectDateTime
Description copied from interface:SnapshotDateTimeParser
Attempt to detect an ZonedDateTime from a path.The path is not guaranteed to exist.
- Specified by:
detectDateTime
in interfaceSnapshotDateTimeParser
- Parameters:
path
- the path- Returns:
- date-time, if it can be parsed
-