Package org.elasticsearch.client.watcher
Class WatchStatusDateParser
java.lang.Object
org.elasticsearch.client.watcher.WatchStatusDateParser
public final class WatchStatusDateParser
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static java.time.ZonedDateTime
parseDate(java.lang.String text)
static java.time.ZonedDateTime
parseDate(java.lang.String fieldName, XContentParser parser)
-
Method Details
-
parseDate
public static java.time.ZonedDateTime parseDate(java.lang.String fieldName, XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
parseDate
public static java.time.ZonedDateTime parseDate(java.lang.String text)
-