org.hrodberaht.i18n.formatter
Class DateFormatter
java.lang.Object
org.hrodberaht.i18n.formatter.Formatter
org.hrodberaht.i18n.formatter.DateFormatter
public class DateFormatter
- extends Formatter
Simple Java Utils
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Robert Alexandersson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFormatter
public DateFormatter(DateFormatter.DateConvert dateConvert)
DateFormatter
public DateFormatter()
convertToObject
public Object convertToObject(String target)
- Overrides:
convertToObject in class Formatter
convertToString
public String convertToString(Object value)
- Returns a string representation of its argument, formatted as a date
with the "MM/dd/yyyy" format.
- Overrides:
convertToString in class Formatter
- Returns:
- a formatted String
parseAndErrorhandleDate
protected Date parseAndErrorhandleDate(String target,
DateFormat formatter)
Copyright © 2011. All Rights Reserved.