class JodaLocalDateToStringConverter implements Converter<String, LocalDate> {

    @CheckForNull
    @Override
    public String convertToPresentation(@CheckForNull LocalDate value,
            @CheckForNull Class<? extends String> targetType,
            @CheckForNull Locale locale) throws Converter.ConversionException {
        if (value == null) {
            return "";
        }
        return getFormat(getNullsafeLocale(locale)).print(value);
    }

}