Package org.jdbi.v3.jodatime2
Class DateTimeMapper
java.lang.Object
org.jdbi.v3.jodatime2.DateTimeMapper
- All Implemented Interfaces:
org.jdbi.v3.core.mapper.ColumnMapper<org.joda.time.DateTime>
public class DateTimeMapper
extends Object
implements org.jdbi.v3.core.mapper.ColumnMapper<org.joda.time.DateTime>
Map a
Timestamp to a DateTime.-
Constructor Details
-
DateTimeMapper
public DateTimeMapper()
-
-
Method Details
-
map
public org.joda.time.DateTime map(ResultSet r, int columnNumber, org.jdbi.v3.core.statement.StatementContext ctx) throws SQLException - Specified by:
mapin interfaceorg.jdbi.v3.core.mapper.ColumnMapper<org.joda.time.DateTime>- Throws:
SQLException
-