code: @Override
    public Calendar transformIn(Timestamp ts) throws CpoException {
      Calendar cal = null;
      if (ts != null) {
        cal = Calendar.getInstance();
        cal.setTimeInMillis(ts.getTime());
      }
      return cal;
    }
docs: Transforms the
  <code>java.sql.Timestamp</code> returned from JDBC into a
  <code>java.util.Calendar</code> to be used by the class.
  
  @param ts The Timestamp from JDBC.
  @return A Calendar Object
  @throws CpoException