| Constructor and Description |
|---|
LocalTimeParser(DateTimeFormatter formatter)
Create a new DateTimeParser.
|
| Modifier and Type | Method and Description |
|---|---|
LocalTime |
parse(String text,
Locale locale)
Parse a text String to produce a T.
|
public LocalTimeParser(DateTimeFormatter formatter)
formatter - the Joda DateTimeFormatter instancepublic LocalTime parse(String text, Locale locale) throws ParseException
Parserparse in interface Parser<LocalTime>text - the text stringlocale - the current user localeParseException - when a parse exception occurs in a java.text parsing library