public class DateStringParser extends StringParser<LocalDate>
| Modifier and Type | Field and Description |
|---|---|
static DateTimeFormatter |
DEFAULT_FORMATTER |
missingValueStrings| Constructor and Description |
|---|
DateStringParser(ColumnType type) |
DateStringParser(ColumnType type,
CsvReadOptions readOptions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canParse(String s) |
LocalDate |
parse(String s) |
void |
setCustomFormatter(DateTimeFormatter f) |
void |
setLocale(Locale locale) |
columnType, isMissing, parseByte, parseDoublepublic static final DateTimeFormatter DEFAULT_FORMATTER
public DateStringParser(ColumnType type, CsvReadOptions readOptions)
public DateStringParser(ColumnType type)
public boolean canParse(String s)
canParse in class StringParser<LocalDate>public void setCustomFormatter(DateTimeFormatter f)
public void setLocale(Locale locale)
public LocalDate parse(String s)
parse in class StringParser<LocalDate>Copyright © 2018. All rights reserved.