Constructor and Description |
---|
DateTimeParser(org.joda.time.format.DateTimeFormatter formatter)
Create a new DateTimeParser.
|
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T.
|
public DateTimeParser(org.joda.time.format.DateTimeFormatter formatter)
formatter
- the Joda DateTimeFormatter instancepublic org.joda.time.DateTime parse(java.lang.String text, java.util.Locale locale) throws java.text.ParseException
Parser
Copyright © 2021. All rights reserved.