/** * {@inheritDoc} */ @Override public Date getFirstSelectionDate() { return isSelectionEmpty() ? null : selectedDates.first(); }
/** * {@inheritDoc} */ @Override public Date getLastSelectionDate() { return isSelectionEmpty() ? null : selectedDates.last(); }
/** * {@inheritDoc} */ @Override public Date getFirstSelectionDate() { return isSelectionEmpty() ? null : selectedDates.first(); }
/** * {@inheritDoc} */ @Override public Date getLastSelectionDate() { return isSelectionEmpty() ? null : selectedDates.last(); }
/** * {@inheritDoc} */ @Override public Date getLastSelectionDate() { return isSelectionEmpty() ? null : selectedDates.last(); }
/** * {@inheritDoc} */ @Override public Date getLastSelectionDate() { return isSelectionEmpty() ? null : selectedDates.last(); }
/** * {@inheritDoc} */ public Date getFirstSelectionDate() { return isSelectionEmpty() ? null : selectedDates.first(); }
/** * {@inheritDoc} */ public Date getLastSelectionDate() { return isSelectionEmpty() ? null : selectedDates.last(); }
/** * {@inheritDoc} */ @Override public Date getFirstSelectionDate() { return isSelectionEmpty() ? null : selectedDates.first(); }
/** * {@inheritDoc} */ @Override public Date getFirstSelectionDate() { return isSelectionEmpty() ? null : selectedDates.first(); }
/** * {@inheritDoc} */ @Override public void clearSelection() { if (isSelectionEmpty()) return; selectedDates.clear(); fireValueChanged(EventType.SELECTION_CLEARED); }
/** * {@inheritDoc} */ public void clearSelection() { if (isSelectionEmpty()) return; selectedDates.clear(); fireValueChanged(EventType.SELECTION_CLEARED); }
/** * {@inheritDoc} */ @Override public boolean isSelected(Date date) { Contract.asNotNull(date, "date must not be null"); if (isSelectionEmpty()) return false; return isSameDay(selectedDates.first(), date); }
/** * {@inheritDoc} */ @Override public boolean isSelected(Date date) { Contract.asNotNull(date, "date must not be null"); if (isSelectionEmpty()) return false; return isSameDay(selectedDates.first(), date); }
/** * {@inheritDoc} */ @Override public boolean isSelected(Date date) { Contract.asNotNull(date, "date must not be null"); if (isSelectionEmpty()) return false; return isSameDay(selectedDates.first(), date); }
/** * {@inheritDoc} */ public boolean isSelected(Date date) { Contract.asNotNull(date, "date must not be null"); if (isSelectionEmpty()) return false; return isSameDay(selectedDates.first(), date); }
/** * {@inheritDoc} */ @Override public void removeSelectionInterval(Date startDate, Date endDate) { Contract.asNotNull(startDate, "date must not be null"); if (isSelectionEmpty()) return; if (isSelectionInInterval(startDate, endDate)) { selectedDates.clear(); fireValueChanged(EventType.DATES_REMOVED); } }
/** * {@inheritDoc} */ @Override public void removeSelectionInterval(Date startDate, Date endDate) { Contract.asNotNull(startDate, "date must not be null"); if (isSelectionEmpty()) return; if (isSelectionInInterval(startDate, endDate)) { selectedDates.clear(); fireValueChanged(EventType.DATES_REMOVED); } }
/** * {@inheritDoc} */ public void removeSelectionInterval(Date startDate, Date endDate) { Contract.asNotNull(startDate, "date must not be null"); if (isSelectionEmpty()) return; if (isSelectionInInterval(startDate, endDate)) { selectedDates.clear(); fireValueChanged(EventType.DATES_REMOVED); } }
/** * {@inheritDoc} */ @Override public void removeSelectionInterval(Date startDate, Date endDate) { Contract.asNotNull(startDate, "date must not be null"); if (isSelectionEmpty()) return; if (isSelectionInInterval(startDate, endDate)) { selectedDates.clear(); fireValueChanged(EventType.DATES_REMOVED); } }