@Test public void testReverse() throws Exception { assertThat(typeConverter.reverse(null, null, null)).isNull(); assertThat(typeConverter.reverse(dt1, null, null)).isEqualTo(dt1.toDate()); assertThat(typeConverter.reverse(dt2, null, null)).isEqualTo(dt2.toDate()); assertThat(typeConverter.reverse(dt3, null, null)).isEqualTo(dt3.toDate()); }
@Override public Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags) throws JTransfoException { if (null == object) { return null; } return object.toDate(); }
DateDateTimeConverter implements TypeConverter<Date, DateTime> { @Override public Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags) throws JTransfoException { if (null == object) { return null; } return object.toDate(); } }
DateDateTimeConverter implements TypeConverter<Date, DateTime> { @Override public Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags) throws JTransfoException { if (null == object) { return null; } return object.toDate(); }  }
DateDateTimeConverter implements TypeConverter<Date, DateTime> { @Override public Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags) throws JTransfoException { if (null == object) { return null; } return object.toDate(); }  @Override boolean canConvert(Type realToType, Type realDomainType); @Override DateTime convert(Date object, SyntheticField domainField, Object domainObject, String... tags); @Override Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags); }
DateDateTimeConverter implements TypeConverter<Date, DateTime> { @Override public Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags) throws JTransfoException { if (null == object) { return null; } return object.toDate(); }  @Override boolean canConvert(Type realToType, Type realDomainType); @Override DateTime convert(Date object, SyntheticField domainField, Object domainObject, String... tags); @Override Date reverse(DateTime object, SyntheticField toField, Object toObject, String... tags);  }