/** * {@inheritDoc} */ public Object convert(final Object object) { return ((org.exolab.castor.types.Date) object).toDate(); }
/** * Converts this date into a long value. * @return This date instance as a long value. */ public long toLong () { return this.toDate().getTime(); }
/** * Converts this date into a long value. * * @return This date instance as a long value. */ public long toLong() { return this.toDate().getTime(); }
/** * {@inheritDoc} */ public Object convert(final Object object) { long time = ((org.exolab.castor.types.Date) object).toDate().getTime(); return new java.sql.Date(time); }
return parsedDate.toDate();
return parsedDate.toDate();