public class ParseLocalDate extends AbstractJodaParsingProcessor<LocalDate>
For constructors using DateTimeFormatter, refer to the following Joda classes:
DateTimeFormat - formats by pattern and styleISODateTimeFormat - ISO8601 formatsDateTimeFormatterBuilder - complex formats created via method
calls
For constructors using date format Strings, refer to DateTimeFormat
for example formats.
next| Constructor and Description |
|---|
ParseLocalDate()
Constructs a new ParseLocalDate processor, which parses a String
as a Joda LocalDate.
|
ParseLocalDate(CellProcessor next)
Constructs a new ParseLocalDate processor, which parses a String
as a Joda LocalDate, then calls the next processor in the chain.
|
ParseLocalDate(DateTimeFormatter formatter)
Constructs a new ParseLocalDate processor, which parses a String
as a Joda LocalDate using the supplied formatter.
|
ParseLocalDate(DateTimeFormatter formatter,
CellProcessor next)
Constructs a new ParseLocalDate processor, which parses a String
as a Joda LocalDate using the supplied formatter, then calls the next
processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected LocalDate |
parse(String string)
Parses the String into the appropriate Joda type.
|
protected LocalDate |
parse(String string,
DateTimeFormatter formatter)
Parses the String into the appropriate Joda type, using the supplied
formatter.
|
executetoString, validateInputNotNullpublic ParseLocalDate()
public ParseLocalDate(CellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullpublic ParseLocalDate(DateTimeFormatter formatter)
formatter - the formatter used for parsingNullPointerException - if formatter is nullpublic ParseLocalDate(DateTimeFormatter formatter, CellProcessor next)
formatter - the formatter used for parsingnext - the next processor in the chainNullPointerException - if formatter or next is nullprotected LocalDate parse(String string)
parse in class AbstractJodaParsingProcessor<LocalDate>string - the string to parseprotected LocalDate parse(String string, DateTimeFormatter formatter)
parse in class AbstractJodaParsingProcessor<LocalDate>string - the string to parseformatter - the formatter to useCopyright © 2007–2015 Super CSV. All rights reserved.