org.appfuse.util
Class DateConverter
java.lang.Object
org.appfuse.util.DateConverter
- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
- Direct Known Subclasses:
- TimestampConverter
public class DateConverter
- extends Object
- implements org.apache.commons.beanutils.Converter
This class is converts a java.util.Date to a String
and a String to a java.util.Date.
View Source
- Author:
- Matt Raible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateConverter
public DateConverter()
convert
public Object convert(Class type,
Object value)
- Specified by:
convert
in interface org.apache.commons.beanutils.Converter
convertToDate
protected Object convertToDate(Class type,
Object value,
String pattern)
convertToString
protected Object convertToString(Class type,
Object value)
Copyright � 2002-2006