final String asText = ConverterRegistry.toAttributeValue(o);
return (Date) ConverterRegistry.toPropertyValue(asText, getType());
}
catch (ParseException e)
{
throw new BeanException("Failed to format object");
}
}
return (Date) ConverterRegistry.toPropertyValue(text, type);
}