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