public class FmtLocalDateTime extends AbstractTemporalAccessorFormattingProcessor<java.time.LocalDateTime>
DateTimeFormatter
- formats by pattern and styleDateTimeFormatter
- ISO 8601 formatsDateTimeFormatterBuilder
- complex formats created via method
callsnext
Constructor and Description |
---|
FmtLocalDateTime()
Constructs a new FmtLocalDateTime processor, which formats a
LocalDateTime as a String.
|
FmtLocalDateTime(CellProcessor next)
Constructs a new FmtLocalDateTime processor, which formats a
LocalDateTime as a String, then calls the next processor in the
chain.
|
FmtLocalDateTime(java.time.format.DateTimeFormatter formatter)
Constructs a new FmtLocalDateTime processor, which formats a
LocalDateTime as a String using the supplied formatter.
|
FmtLocalDateTime(java.time.format.DateTimeFormatter formatter,
CellProcessor next)
Constructs a new FmtLocalDateTime processor, which formats a
LocalDateTime as a String using the supplied formatter, then calls
the next processor in the chain.
|
Modifier and Type | Method and Description |
---|---|
protected Class<java.time.LocalDateTime> |
getType() |
execute
toString, validateInputNotNull
public FmtLocalDateTime()
LocalDateTime.toString()
public FmtLocalDateTime(CellProcessor next)
next
- next processor in the chainNullPointerException
- if next is nullpublic FmtLocalDateTime(java.time.format.DateTimeFormatter formatter)
formatter
- the formatter to useNullPointerException
- if formatter is nullpublic FmtLocalDateTime(java.time.format.DateTimeFormatter formatter, CellProcessor next)
formatter
- the formatter to usenext
- the next processor in the chainNullPointerException
- if formatter or next is nullprotected Class<java.time.LocalDateTime> getType()
getType
in class AbstractTemporalAccessorFormattingProcessor<java.time.LocalDateTime>
Copyright © 2007–2019 Super CSV. All rights reserved.