public abstract class AbstractDateTypeConvertor extends AbstractTypeConvertor
| Constructor and Description |
|---|
AbstractDateTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
Construct a Converter between given fromType an toType.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(AbstractProperties properties)
Configure the converter with given configuration.
|
protected static java.text.SimpleDateFormat |
getDefaultDateFormat()
Use this accessor to access the DEFAULT_DATE_FORMAT.
|
protected static java.lang.String |
getFullDatePattern(java.lang.String pattern)
Transforms short date format pattern into full format pattern for SimpleDateFormat
(e.g., "YMD" to "yyyyMMdd").
|
clone, fromType, toString, toTypeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconvert, parameterizepublic AbstractDateTypeConvertor(java.lang.Class<?> fromType,
java.lang.Class<?> toType)
fromType - The type being converted from.toType - The type being converted to.protected static final java.text.SimpleDateFormat getDefaultDateFormat()
protected static java.lang.String getFullDatePattern(java.lang.String pattern)
pattern - The short pattern.public final void configure(AbstractProperties properties)
properties - Properties to use.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com