Package org.jdbi.v3.jodatime2
Class DateTimeMapper
java.lang.Object
org.jdbi.v3.jodatime2.DateTimeMapper
- All Implemented Interfaces:
ColumnMapper<org.joda.time.DateTime>
Map a
Timestamp to a DateTime.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimemap(ResultSet r, int columnNumber, StatementContext ctx) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.mapper.ColumnMapper
init, map
-
Constructor Details
-
DateTimeMapper
public DateTimeMapper()
-
-
Method Details
-
map
public org.joda.time.DateTime map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException - Specified by:
mapin interfaceColumnMapper<org.joda.time.DateTime>- Throws:
SQLException
-