|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hrodberaht.i18n.formatter.Formatter
org.hrodberaht.i18n.formatter.DateFormatter
public class DateFormatter
Simple Java Utils
| Nested Class Summary | |
|---|---|
static class |
DateFormatter.DateConvert
|
| Field Summary |
|---|
| Fields inherited from class org.hrodberaht.i18n.formatter.Formatter |
|---|
locale |
| Constructor Summary | |
|---|---|
DateFormatter()
|
|
DateFormatter(DateFormatter.DateConvert dateConvert)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convertToObject(java.lang.String target)
|
java.lang.String |
convertToString(java.lang.Object value)
Returns a string representation of its argument, formatted as a date with the "MM/dd/yyyy" format. |
protected java.util.Date |
parseAndErrorhandleDate(java.lang.String target,
java.text.DateFormat formatter)
|
| Methods inherited from class org.hrodberaht.i18n.formatter.Formatter |
|---|
getFormatter, getFormatter, isSupportedType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateFormatter(DateFormatter.DateConvert dateConvert)
public DateFormatter()
| Method Detail |
|---|
public java.lang.Object convertToObject(java.lang.String target)
convertToObject in class Formatterpublic java.lang.String convertToString(java.lang.Object value)
convertToString in class Formatter
protected java.util.Date parseAndErrorhandleDate(java.lang.String target,
java.text.DateFormat formatter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||