Package com.hp.lft.sdk
Interface CalendarBase
public interface CalendarBase
Base interface for Calendar test objects.
- 
Method SummaryModifier and TypeMethodDescriptiongetDate()Returns the date associated with this calendar.Returns the range of dates selected in this calendar.
 Notes:
 - Supported only for month calendar controls in multi-selection mode.getTime()Returns the time associated with this calendar.booleanIndicates whether a range of dates is currently selected in this calendar.voidSets the date of this calendar.voidsetDateRange(DateRange dateRange) Sets the specified date range using a DateRange value.voidsetDateRange(Date startDate, Date endDate) Sets the specified date range with separate start and end Date values.voidSets the time of this calendar.
- 
Method Details- 
getDateReturns the date associated with this calendar.
 Note: If a date range is selected, returns the start date of the range.- Returns:
- the date associated with this calendar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateSets the date of this calendar.- Parameters:
- date- the date to set.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDateRangeReturns the range of dates selected in this calendar.
 Notes:
 - Supported only for month calendar controls in multi-selection mode.
 - If a single date is selected, both DateRange.getStartDate and DateRange.getEndDate return the selected date.- Returns:
- a range of dates.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateRangeSets the specified date range using a DateRange value. Note: Supported only for month calendar controls in multi-selection mode.- Parameters:
- dateRange- the date range to set.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setDateRangeSets the specified date range with separate start and end Date values.- Parameters:
- startDate- the start date of the range.
- endDate- the end date of the range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isRangeSelectedIndicates whether a range of dates is currently selected in this calendar.- Returns:
- true, if a range of dates is currently selected in this calendar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTimeReturns the time associated with this calendar.- Returns:
- the time associated with this calendar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setTimeSets the time of this calendar.- Parameters:
- time- the time to set.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-