Spring Bean Date Configuration Examples

DateFormat fmt = new SimpleDateFormat ("d/M/yyyy");
CustomDateEditor dateEditor = new CustomDateEditor (fmt, false);
beanFactory .registerCustomEditor (java.util.Date.class, dateEditor);

<property name="date"><value>19/2/2004</value></property>

Search: