public class ConverterDatePatternTemplate extends AbstractConverterTimezone<Date>
| Modifier and Type | Field and Description |
|---|---|
protected SimpleDateFormat |
pattern
Parser instance.
|
cacheTimezone, FEATURE_TIMEZONE, timezone| Constructor and Description |
|---|
ConverterDatePatternTemplate(String pattern)
Create a SimpleDateFormat using the given pattern.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object value,
Object[] args)
Convert a given object to another using some arguments as auxiliary.
|
getTimezone, getZone, initialize, setTimezoneacceptprotected SimpleDateFormat pattern
public ConverterDatePatternTemplate(String pattern)
pattern - Pattern.public Object convert(Object value, Object[] args) throws ConverterException
IConverterconvert in interface IConverterconvert in class ConverterNotNullNotEmptyvalue - The value to be converted.args - The arguments.ConverterException - On conversion errors.Copyright © 2016. All rights reserved.