Class CalendarDateRange
- java.lang.Object
-
- com.vaadin.v7.ui.components.calendar.CalendarDateRange
-
- All Implemented Interfaces:
Serializable
@Deprecated public class CalendarDateRange extends Object implements Serializable
Deprecated.As of 8.0, no replacement available.Class for representing a date range.- Since:
- 7.1.0
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalendarDateRange(Date start, Date end, TimeZone tz)
Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Date
getEnd()
Deprecated.Get the end date of the date range.Date
getStart()
Deprecated.Get the start date of the date range.boolean
inRange(Date date)
Deprecated.Is a date in the date range.String
toString()
Deprecated.
-
-
-
Method Detail
-
getStart
public Date getStart()
Deprecated.Get the start date of the date range.- Returns:
- the start Date of the range
-
getEnd
public Date getEnd()
Deprecated.Get the end date of the date range.- Returns:
- the end Date of the range
-
inRange
public boolean inRange(Date date)
Deprecated.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
-
-