public class DateParser extends AbstractColumnParser<LocalDate>
Modifier and Type | Field | Description |
---|---|---|
static DateTimeFormatter |
DEFAULT_FORMATTER |
missingValueStrings
Constructor | Description |
---|---|
DateParser(ColumnType type) |
|
DateParser(ColumnType type,
ReadOptions readOptions) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canParse(String s) |
|
LocalDate |
parse(String s) |
|
void |
setCustomFormatter(DateTimeFormatter f) |
|
void |
setLocale(Locale locale) |
columnType, isMissing, parseByte, parseDouble, parseFloat, parseInt, parseLong, parseShort, remove, setMissingValueStrings
public static final DateTimeFormatter DEFAULT_FORMATTER
public DateParser(ColumnType type, ReadOptions readOptions)
public DateParser(ColumnType type)
public boolean canParse(String s)
canParse
in class AbstractColumnParser<LocalDate>
public void setCustomFormatter(DateTimeFormatter f)
public void setLocale(Locale locale)
public LocalDate parse(String s)
parse
in class AbstractColumnParser<LocalDate>
Copyright © 2022. All rights reserved.