public class DateFieldDescription extends Object implements FieldDescription<Date>
| Modifier and Type | Field and Description |
|---|---|
static FieldDescription<?> |
INSTANCE |
| Constructor and Description |
|---|
DateFieldDescription(SimpleDateFormat simpleDateFormat,
String locale) |
| Modifier and Type | Method and Description |
|---|---|
static FieldDescription<Date> |
create(String dateFormat) |
static FieldDescription<Date> |
create(String dateFormat,
String locale) |
DataType |
getDataType() |
Class<Date> |
getJavaType() |
void |
render(Appendable out) |
FieldProcessor<Date> |
toFieldProcessor(String nullValue) |
String |
toString() |
public static final FieldDescription<?> INSTANCE
public DateFieldDescription(SimpleDateFormat simpleDateFormat, String locale)
public static FieldDescription<Date> create(String dateFormat)
public static FieldDescription<Date> create(String dateFormat, String locale)
public void render(Appendable out) throws IOException
render in interface FieldDescription<Date>IOExceptionpublic FieldProcessor<Date> toFieldProcessor(String nullValue)
toFieldProcessor in interface FieldDescription<Date>public Class<Date> getJavaType()
getJavaType in interface FieldDescription<Date>public DataType getDataType()
getDataType in interface FieldDescription<Date>Copyright © 2020–2021. All rights reserved.