/** * @param date * @return */ private boolean belowLowerBound(Date date) { if (lowerBound != null) { return startOfDay(lowerBound).after(date); } return false; }
/** * @param date * @return */ private boolean belowLowerBound(Date date) { if (lowerBound != null) { return startOfDay(lowerBound).after(date); } return false; }
/** * @param date * @return */ private boolean belowLowerBound(Date date) { if (lowerBound != null) { return startOfDay(lowerBound).after(date); } return false; }
/** * @param date * @return */ private boolean belowLowerBound(Date date) { if (lowerBound != null) { return startOfDay(lowerBound).after(date); } return false; }
/** * @param date * @return */ private boolean belowLowerBound(Date date) { if (lowerBound != null) { return startOfDay(lowerBound).after(date); } return false; }
/** * Checks and returns whether the selected date is contained in the interval * given by startDate/endDate. The selection must not be empty when * calling this method. <p> * * This implementation interprets the interval between the start of the day * of startDay to the end of the day of endDate. * * @param startDate the start of the interval, must not be null * @param endDate the end of the interval, must not be null * @return true if the selected date is contained in the interval */ protected boolean isSelectionInInterval(Date startDate, Date endDate) { if (selectedDates.first().before(startOfDay(startDate)) || (selectedDates.first().after(endOfDay(endDate)))) return false; return true; }
/** * Checks and returns whether the selected date is contained in the interval * given by startDate/endDate. The selection must not be empty when * calling this method. <p> * * This implementation interprets the interval between the start of the day * of startDay to the end of the day of endDate. * * @param startDate the start of the interval, must not be null * @param endDate the end of the interval, must not be null * @return true if the selected date is contained in the interval */ protected boolean isSelectionInInterval(Date startDate, Date endDate) { if (selectedDates.first().before(startOfDay(startDate)) || (selectedDates.first().after(endOfDay(endDate)))) return false; return true; }
/** * Checks and returns whether the selected date is contained in the interval * given by startDate/endDate. The selection must not be empty when * calling this method. <p> * * This implementation interprets the interval between the start of the day * of startDay to the end of the day of endDate. * * @param startDate the start of the interval, must not be null * @param endDate the end of the interval, must not be null * @return true if the selected date is contained in the interval */ protected boolean isSelectionInInterval(Date startDate, Date endDate) { if (selectedDates.first().before(startOfDay(startDate)) || (selectedDates.first().after(endOfDay(endDate)))) return false; return true; }
/** * Checks and returns whether the selected date is contained in the interval * given by startDate/endDate. The selection must not be empty when * calling this method. <p> * * This implementation interprets the interval between the start of the day * of startDay to the end of the day of endDate. * * @param startDate the start of the interval, must not be null * @param endDate the end of the interval, must not be null * @return true if the selected date is contained in the interval */ protected boolean isSelectionInInterval(Date startDate, Date endDate) { if (selectedDates.first().before(startOfDay(startDate)) || (selectedDates.first().after(endOfDay(endDate)))) return false; return true; }
/** * Checks and returns whether the selected date is contained in the interval * given by startDate/endDate. The selection must not be empty when * calling this method. <p> * * This implementation interprets the interval between the start of the day * of startDay to the end of the day of endDate. * * @param startDate the start of the interval, must not be null * @param endDate the end of the interval, must not be null * @return true if the selected date is contained in the interval */ protected boolean isSelectionInInterval(Date startDate, Date endDate) { if (selectedDates.first().before(startOfDay(startDate)) || (selectedDates.first().after(endOfDay(endDate)))) return false; return true; }