|
spring-context | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.format.datetime.joda.DateTimeParser
public final class DateTimeParser
Parses Joda Time DateTime instances using a DateTimeFormatter.
| Constructor Summary | |
|---|---|
DateTimeParser(org.joda.time.format.DateTimeFormatter formatter)
Create a new DateTimeParser. |
|
| Method Summary | |
|---|---|
org.joda.time.DateTime |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeParser(org.joda.time.format.DateTimeFormatter formatter)
formatter - the Joda DateTimeFormatter instance| Method Detail |
|---|
public org.joda.time.DateTime parse(java.lang.String text,
java.util.Locale locale)
throws java.text.ParseException
Parser
parse in interface Parser<org.joda.time.DateTime>text - the text stringlocale - the current user locale
java.text.ParseException - when a parse exception occurs in a java.text parsing library
|
spring-context | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||