public class ParseZonedDateTime extends AbstractTemporalAccessorParsingProcessor<java.time.ZonedDateTime>
DateTimeFormatter - formats by pattern and styleDateTimeFormatter - ISO 8601 formatsDateTimeFormatterBuilder - complex formats created via method
callsnext| Constructor and Description |
|---|
ParseZonedDateTime()
Constructs a new ParseZonedDateTime processor, which parses a String
in the same format accepted by
ZonedDateTime.parse(CharSequence)
as a ZonedDateTime. |
ParseZonedDateTime(CellProcessor next)
Constructs a new ParseZonedDateTime processor, which parses a String
as a ZonedDateTime, then calls the next processor in the chain.
|
ParseZonedDateTime(java.time.format.DateTimeFormatter formatter)
Constructs a new ParseZonedDateTime processor, which parses a String
as a ZonedDateTime using the supplied formatter.
|
ParseZonedDateTime(java.time.format.DateTimeFormatter formatter,
CellProcessor next)
Constructs a new ParseZonedDateTime processor, which parses a String
as a ZonedDateTime using the supplied formatter, then calls the next
processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.time.ZonedDateTime |
parse(String string)
Parses the String into the appropriate
TemporalAccessor type. |
protected java.time.ZonedDateTime |
parse(String string,
java.time.format.DateTimeFormatter formatter)
Parses the String into the appropriate
TemporalAccessor type, using the supplied
formatter. |
executetoString, validateInputNotNullpublic ParseZonedDateTime()
ZonedDateTime.parse(CharSequence)
as a ZonedDateTime.public ParseZonedDateTime(CellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullParseZonedDateTime()public ParseZonedDateTime(java.time.format.DateTimeFormatter formatter)
formatter - the formatter used for parsingNullPointerException - if formatter is nullpublic ParseZonedDateTime(java.time.format.DateTimeFormatter formatter,
CellProcessor next)
formatter - the formatter used for parsingnext - the next processor in the chainNullPointerException - if formatter or next is nullprotected java.time.ZonedDateTime parse(String string)
TemporalAccessor type.parse in class AbstractTemporalAccessorParsingProcessor<java.time.ZonedDateTime>string - the string to parseTemporalAccessor typeprotected java.time.ZonedDateTime parse(String string, java.time.format.DateTimeFormatter formatter)
TemporalAccessor type, using the supplied
formatter.parse in class AbstractTemporalAccessorParsingProcessor<java.time.ZonedDateTime>string - the string to parseformatter - the formatter to useTemporalAccessor typeCopyright © 2007-2015 Super CSV. All Rights Reserved.