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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.joda.time.DateTime
    map(ResultSet r, int columnNumber, org.jdbi.v3.core.statement.StatementContext ctx)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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, org.jdbi.v3.core.statement.StatementContext ctx) throws SQLException
      Specified by:
      map in interface org.jdbi.v3.core.mapper.ColumnMapper<org.joda.time.DateTime>
      Throws:
      SQLException