public class FmtLocalDateTime extends AbstractTemporalAccessorFormattingProcessor<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(DateTimeFormatter formatter)
Constructs a new FmtLocalDateTime processor, which formats a
LocalDateTime as a String using the supplied formatter.
|
FmtLocalDateTime(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<LocalDateTime> |
getType() |
execute
toString, validateInputNotNull
public FmtLocalDateTime()
LocalDateTime.toString()
public FmtLocalDateTime(CellProcessor next)
next
- next processor in the chainNullPointerException
- if next is nullpublic FmtLocalDateTime(DateTimeFormatter formatter)
formatter
- the formatter to useNullPointerException
- if formatter is nullpublic FmtLocalDateTime(DateTimeFormatter formatter, CellProcessor next)
formatter
- the formatter to usenext
- the next processor in the chainNullPointerException
- if formatter or next is nullprotected Class<LocalDateTime> getType()
getType
in class AbstractTemporalAccessorFormattingProcessor<LocalDateTime>
Copyright © 2007–2015 Super CSV. All rights reserved.