Modifier and Type | Field and Description |
---|---|
private DateTimeFormatter |
formatter |
Constructor and Description |
---|
LocalDateParser(DateTimeFormatter formatter)
Create a new DateTimeParser.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T.
|
public LocalDateParser(DateTimeFormatter formatter)
formatter
- the Joda DateTimeFormatter instancepublic LocalDate parse(java.lang.String text, java.util.Locale locale) throws java.text.ParseException
Parser