Class SingleDaySelectionModel

  • All Implemented Interfaces:
    DateSelectionModel

    public class SingleDaySelectionModel
    extends AbstractDateSelectionModel
    DateSelectionModel which allows a single selection only.

    Temporary quick & dirty class to explore requirements as needed by a DatePicker. Need to define the states more exactly. Currently

  • takes all Dates as-are (that is the normalized is the same as the given): selected, unselectable, lower/upper bounds
  • interprets any Date between the start/end of day of the selected as selected
  • interprets any Date between the start/end of an unselectable date as unselectable
  • interprets the lower/upper bounds as being the start/end of the given dates, that is any Date after the start of day of the lower and before the end of day of the upper is selectable.
Author:
Jeanette Winzenburg