T - the Temporal typepublic static interface DateFormats.DateParser<T extends java.time.temporal.Temporal>
| Modifier and Type | Method and Description |
|---|---|
T |
parse(java.lang.String text,
java.time.format.DateTimeFormatter formatter)
Parses the given text with the given formatter
|
T parse(java.lang.String text, java.time.format.DateTimeFormatter formatter) throws java.time.format.DateTimeParseException
text - the text to parseformatter - the formatter to usejava.time.format.DateTimeParseException - if unable to parse the text