public class DateFieldProcessor extends Object implements FieldProcessor<Date>
| Constructor and Description |
|---|
DateFieldProcessor(SimpleDateFormat simpleDateFormat,
String locale,
String nullValue) |
public DateFieldProcessor(SimpleDateFormat simpleDateFormat, String locale, String nullValue)
public Date toObject(String text) throws MetaCSVReadException
FieldProcessortoObject in interface FieldProcessor<Date>text - the CSV valueMetaCSVReadExceptionpublic String toString(Date date)
FieldProcessortoString in interface FieldProcessor<Date>date - the valuepublic Date cast(Object o)
FieldProcessorcast in interface FieldProcessor<Date>o - the objectCopyright © 2020–2021. All rights reserved.