public class DateStringParser extends StringParser<LocalDate>
Modifier and Type | Field | Description |
---|---|---|
static DateTimeFormatter |
DEFAULT_FORMATTER |
missingValueStrings
Constructor | Description |
---|---|
DateStringParser(ColumnType type) |
|
DateStringParser(ColumnType type,
CsvReadOptions readOptions) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canParse(String s) |
|
LocalDate |
parse(String s) |
|
void |
setCustomFormatter(DateTimeFormatter f) |
|
void |
setLocale(Locale locale) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
columnType, isMissing, parseByte, parseDouble
public 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.