org.appfuse.util
Class TimestampConverter
java.lang.Object
org.appfuse.util.DateConverter
org.appfuse.util.TimestampConverter
- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
public class TimestampConverter
- extends DateConverter
This class is converts a java.util.Date to a String and a String to a
java.util.Date for use as a Timestamp. It is used by BeanUtils when copying
properties.
View Source
- Author:
- Dan Kibler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TS_FORMAT
public static final String TS_FORMAT
TimestampConverter
public TimestampConverter()
convertToDate
protected Object convertToDate(Class type,
Object value)
convertToString
protected Object convertToString(Class type,
Object value)
- Overrides:
convertToString
in class DateConverter
Copyright � 2002-2006