We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.components.calendar.
Class CalendarDateRange
- java.lang.Object
-
- com.vaadin.ui.components.calendar.CalendarDateRange
-
All Implemented Interfaces:
public class CalendarDateRange extends Object implements Serializable
Class for representing a date range.
Since:
7.1.0
Author:
Vaadin Ltd.
See Also:
-
-
Constructor Summary
Constructors Constructor Description CalendarDateRange(Date start, Date end, TimeZone tz)
Constructor
-
-
-
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 checkReturns:
true if the date range contains a date start and end of range inclusive; false otherwise
-
-