public class ConverterLocalDateCurrentTemplate extends AbstractConverterTimeTemplate<org.joda.time.LocalDate>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
aliasToField |
protected Map<String,String> |
fieldToMethod |
protected Pattern |
pattern |
valuescacheTimezone, FEATURE_TIMEZONE, timezone| Constructor and Description |
|---|
ConverterLocalDateCurrentTemplate(List<String> values)
See superclass.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
bindAliases(Map<String,String> map) |
protected Map<String,String> |
bindPatterns(Map<String,String> map) |
Object |
convert(Object value,
Object[] args)
Convert a given object to another using some arguments as auxiliary.
|
protected Pattern |
extractPattern(Set<String> set) |
protected org.joda.time.LocalDate |
instance()
Creates an instance of date.
|
protected org.joda.time.LocalDate |
postProcess(Object value,
Object[] args,
org.joda.time.LocalDate result)
Post process a instance of data.
|
protected boolean |
testValue(String str,
String value)
Test the string against a value.
|
getTimezone, getZone, initialize, setTimezoneacceptprotected Pattern pattern
protected boolean testValue(String str, String value)
AbstractConverterTimeTemplatetestValue in class AbstractConverterTimeTemplate<org.joda.time.LocalDate>str - String.value - A value.protected org.joda.time.LocalDate instance()
AbstractConverterTimeTemplateinstance in class AbstractConverterTimeTemplate<org.joda.time.LocalDate>public Object convert(Object value, Object[] args) throws ConverterException
IConverterconvert in interface IConverterconvert in class AbstractConverterTimeTemplate<org.joda.time.LocalDate>value - The value to be converted.args - The arguments.ConverterException - On conversion errors.protected org.joda.time.LocalDate postProcess(Object value, Object[] args, org.joda.time.LocalDate result)
AbstractConverterTimeTemplatepostProcess in class AbstractConverterTimeTemplate<org.joda.time.LocalDate>value - The original value.args - The arguments.result - The result.Copyright © 2016. All rights reserved.