@Test public void testToFacetValue() { LocalDate now = LocalDate.now(); JavaLocalDateConverter converter = new JavaLocalDateConverter(); assertNull(converter.toFacetValue(null)); assertEquals(now, converter.toFacetValue(now.toString())); }
@Override public Object toFacetValue(Object value) { if(value == null) { return null; } return LocalDate.parse(value.toString()); }
JavaLocalDateConverter implements Converter { @Override public Object toFacetValue(Object value) { if(value == null) { return null; } return LocalDate.parse(value.toString()); } }
JavaLocalDateConverter implements Converter { @Override public Object toFacetValue(Object value) { if(value == null) { return null; } return LocalDate.parse(value.toString()); }  }
JavaLocalDateConverter implements Converter { @Override public Object toFacetValue(Object value) { if(value == null) { return null; } return LocalDate.parse(value.toString()); }  @Override DataType getDataType(); @Override Class<?> getValueType(); @Override Object toColumnValue(Object value); @Override Object toFacetValue(Object value); }
JavaLocalDateConverter implements Converter { @Override public Object toFacetValue(Object value) { if(value == null) { return null; } return LocalDate.parse(value.toString()); }  @Override DataType getDataType(); @Override Class<?> getValueType(); @Override Object toColumnValue(Object value); @Override Object toFacetValue(Object value);  }