Package net.solarnetwork.node.dao.jdbc
Class JdbcFmtDate
java.lang.Object
org.supercsv.cellprocessor.CellProcessorAdaptor
net.solarnetwork.node.dao.jdbc.JdbcFmtDate
- All Implemented Interfaces:
org.supercsv.cellprocessor.ift.CellProcessor,org.supercsv.cellprocessor.ift.DateCellProcessor
- Direct Known Subclasses:
JdbcFmtDate.Date,JdbcFmtDate.Time,JdbcFmtDate.Timestamp
public class JdbcFmtDate
extends org.supercsv.cellprocessor.CellProcessorAdaptor
implements org.supercsv.cellprocessor.ift.DateCellProcessor
Format dates using a Joda
DateTimeFormatter.- Version:
- 2.0
- Author:
- matt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFormat a local date.static final classFormat a local time.static final classFormat an instant. -
Field Summary
Fields inherited from class org.supercsv.cellprocessor.CellProcessorAdaptor
next -
Constructor Summary
ConstructorsConstructorDescriptionJdbcFmtDate(DateTimeFormatter dateFormatter) Constructor.JdbcFmtDate(DateTimeFormatter dateFormatter, org.supercsv.cellprocessor.ift.StringCellProcessor next) Constructor. -
Method Summary
Methods inherited from class org.supercsv.cellprocessor.CellProcessorAdaptor
toString, validateInputNotNull
-
Constructor Details
-
JdbcFmtDate
Constructor.- Parameters:
dateFormatter- the formatter to use
-
JdbcFmtDate
public JdbcFmtDate(DateTimeFormatter dateFormatter, org.supercsv.cellprocessor.ift.StringCellProcessor next) Constructor.- Parameters:
dateFormatter- the formatter to usenext- the next processor
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.supercsv.cellprocessor.ift.CellProcessor
-