public class TimestampConverter extends DateConverter
| Modifier and Type | Field and Description |
|---|---|
static String |
TS_FORMAT
i18n-ized timestamp format - based on values in
ApplicationResources.properties
|
| Constructor and Description |
|---|
TimestampConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertToDate(Class type,
Object value)
Convert a String to a date
|
protected Object |
convertToString(Class type,
Object value)
Convert from a java.util.Date to a String
|
convert, convertToDatepublic static final String TS_FORMAT
protected Object convertToDate(Class type, Object value)
type - java.util.Datevalue - the String valueprotected Object convertToString(Class type, Object value)
convertToString in class DateConvertertype - java.lang.Stringvalue - the date instanceCopyright © 2015. All rights reserved.