public class DateFormatter extends Object implements ObjectFormatter<Date>
Modifier and Type | Field and Description |
---|---|
static String[] |
DEFAULT_PATTERN |
Constructor and Description |
---|
DateFormatter() |
Modifier and Type | Method and Description |
---|---|
Class<Date> |
clazz() |
Date |
format(String raw) |
void |
initParam(String[] extra) |
public static final String[] DEFAULT_PATTERN
public Date format(String raw) throws Exception
format
in interface ObjectFormatter<Date>
Exception
public Class<Date> clazz()
clazz
in interface ObjectFormatter<Date>
public void initParam(String[] extra)
initParam
in interface ObjectFormatter<Date>
Copyright © 2017. All rights reserved.