public class ParseLocalDateTime extends AbstractJodaParsingProcessor<org.joda.time.LocalDateTime>
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 |
|---|
ParseLocalDateTime()
Constructs a new ParseLocalDateTime processor, which parses a
String as a Joda LocalDateTime.
|
ParseLocalDateTime(CellProcessor next)
Constructs a new ParseLocalDateTime processor, which parses a
String as a Joda LocalDateTime, then calls the next processor in the
chain.
|
ParseLocalDateTime(org.joda.time.format.DateTimeFormatter formatter)
Constructs a new ParseLocalDateTime processor, which parses a
String as a Joda LocalDateTime using the supplied formatter.
|
ParseLocalDateTime(org.joda.time.format.DateTimeFormatter formatter,
CellProcessor next)
Constructs a new ParseLocalDateTime processor, which parses a
String as a Joda LocalDateTime using the supplied formatter, then calls
the next processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.joda.time.LocalDateTime |
parse(String string)
Parses the String into the appropriate Joda type.
|
protected org.joda.time.LocalDateTime |
parse(String string,
org.joda.time.format.DateTimeFormatter formatter)
Parses the String into the appropriate Joda type, using the supplied
formatter.
|
executetoString, validateInputNotNullpublic ParseLocalDateTime()
public ParseLocalDateTime(CellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullpublic ParseLocalDateTime(org.joda.time.format.DateTimeFormatter formatter)
formatter - the formatter used for parsingNullPointerException - if formatter is nullpublic ParseLocalDateTime(org.joda.time.format.DateTimeFormatter formatter,
CellProcessor next)
formatter - the formatter used for parsingnext - the next processor in the chainNullPointerException - if formatter or next is nullprotected org.joda.time.LocalDateTime parse(String string)
parse in class AbstractJodaParsingProcessor<org.joda.time.LocalDateTime>string - the string to parseprotected org.joda.time.LocalDateTime parse(String string, org.joda.time.format.DateTimeFormatter formatter)
parse in class AbstractJodaParsingProcessor<org.joda.time.LocalDateTime>string - the string to parseformatter - the formatter to useCopyright © 2007-2015 Super CSV. All Rights Reserved.