@Override public DateW bind(String key, String txt) { Date result = null; try { result = simpleDateFormat.parse(txt); } catch (ParseException e) { e.printStackTrace(); } return DateW.create(result); }
public static DateW create(final Date date) { final DateW d = new DateW(); d.date = date; return d; }