public class ConverterDateTimePatternTemplate extends ConverterNotNullNotEmpty
| Modifier and Type | Field and Description |
|---|---|
protected org.joda.time.format.DateTimeFormatter |
pattern
Parser instance.
|
| Constructor and Description |
|---|
ConverterDateTimePatternTemplate(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.
|
acceptinitializepublic ConverterDateTimePatternTemplate(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.