DefaultDateSelectionModel extends AbstractDateSelectionModel { @Override public Date getNormalizedDate(Date date) { return new Date(date.getTime()); } DefaultDateSelectionModel();  DefaultDateSelectionModel(Locale locale); @Override SelectionMode getSelectionMode(); @Override void setSelectionMode(final SelectionMode selectionMode); @Override void addSelectionInterval(Date startDate, Date endDate); @Override void setSelectionInterval(final Date startDate, Date endDate); @Override void removeSelectionInterval(final Date startDate, final Date endDate); @Override void clearSelection(); @Override SortedSet<Date> getSelection(); @Override Date getFirstSelectionDate(); @Override Date getLastSelectionDate(); @Override boolean isSelected(final Date date); @Override Date getNormalizedDate(Date date); @Override boolean isSelectionEmpty(); @Override SortedSet<Date> getUnselectableDates(); @Override void setUnselectableDates(SortedSet<Date> unselectableDates); @Override boolean isUnselectableDate(Date date);  }
@Test public void testNormalizedDateUnchanged() { Date date = calendar.getTime(); Date normalized = model.getNormalizedDate(date); assertEquals(date, normalized); }