You're viewing an older version of Framework JavaDoc. Please see version 7.7.47 for the latest.
com.vaadin.ui.components.calendar.

Class CalendarDateRange

    • Constructor Detail

      • CalendarDateRange

        public CalendarDateRange​(Date start,
                                 Date end,
                                 TimeZone tz)

        Constructor

        Parameters:

        start - The start date and time of the date range

        end - The end date and time of the date range

    • Method Detail

      • getStart

        public Date getStart()

        Get the start date of the date range

        Returns:

        the start Date of the range

      • getEnd

        public Date getEnd()

        Get the end date of the date range

        Returns:

        the end Date of the range

      • inRange

        public boolean inRange​(Date date)

        Is a date in the date range

        Parameters:

        date - The date to check

        Returns:

        true if the date range contains a date start and end of range inclusive; false otherwise