public abstract class AbstractDateTypeConvertor extends AbstractTypeConvertor
| Constructor and Description |
|---|
AbstractDateTypeConvertor(Class<?> fromType,
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 SimpleDateFormat |
getDefaultDateFormat()
Use this accessor to access the DEFAULT_DATE_FORMAT.
|
protected static String |
getFullDatePattern(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, parameterizeprotected static final SimpleDateFormat getDefaultDateFormat()
protected static String getFullDatePattern(String pattern)
pattern - The short pattern.public final void configure(AbstractProperties properties)
properties - Properties to use.Copyright © 2014. All rights reserved.