* Install formatters and set ISO formatting to true
*/
protected void installFormatters(FormatterRegistry registry) {
registry.addFormatterForFieldAnnotation(new NumberFormatAnnotationFormatterFactory());
if (jodaTimePresent) {
JodaTimeFormattingConfigurer configurer = new JodaTimeFormattingConfigurer();
configurer.setUseIsoFormat(true);
configurer.installJodaTimeFormatting(registry);
}
else {
registry.addFormatterForFieldAnnotation(new NoJodaDateTimeFormatAnnotationFormatterFactory());
}
}