Class Overview
Parses Joda Time DateTime instances using a DateTimeFormatter.
Summary
Public Constructors |
|
DateTimeParser(DateTimeFormatter formatter)
Create a new DateTimeParser.
|
Public Methods |
DateTime
|
parse(String text, Locale locale)
Parse a text String to produce a T.
|
Public Constructors
public
DateTimeParser
(DateTimeFormatter formatter)
Create a new DateTimeParser.
Parameters
formatter
| the Joda DateTimeFormatter instance
|
Public Methods
public
DateTime
parse
(String text, Locale locale)
Parse a text String to produce a T.
Parameters
text
| the text string |
locale
| the current user locale |