@Test public void fromNonNullValue__it_should_return_correct_date_in_utc_zone(){ LocalDate localDate = new LocalDate(YEAR, MONTH, DAY); Date date = new Date(localDate.toDateTimeAtStartOfDay(DateTimeZone.UTC).getMillis()); LocalDate value = dateColumnMapper.fromNonNullValue(date); assertThat("local date value ", value, is(localDate)); }
@Override public LocalDate fromNonNullValue(Date value) { return fromNonNullString(value.toString()); }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public LocalDate fromNonNullValue(Date value) { return fromNonNullString(value.toString()); } }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public LocalDate fromNonNullValue(Date value) { return fromNonNullString(value.toString()); }  }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public LocalDate fromNonNullValue(Date value) { return fromNonNullString(value.toString()); }  @Override LocalDate fromNonNullValue(Date value); @Override LocalDate fromNonNullString(String s); @Override Date toNonNullValue(LocalDate value); @Override String toNonNullString(LocalDate value); }
LocalDateToSqlDateColumnMapper extends AbstractDateColumnMapper<LocalDate> { @Override public LocalDate fromNonNullValue(Date value) { return fromNonNullString(value.toString()); }  @Override LocalDate fromNonNullValue(Date value); @Override LocalDate fromNonNullString(String s); @Override Date toNonNullValue(LocalDate value); @Override String toNonNullString(LocalDate value);  }