com.hp.lft.sdk.sap.gui

Interface Calendar

    • Method Detail

      • getAttachedText

        java.lang.String getAttachedText()
                                  throws GeneralLeanFtException
        Returns the static text attached to the calendar.
        Returns:
        the static text.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getDateRange

                                                    DateRange getDateRange()
                        throws GeneralLeanFtException
        Returns the range of dates selected in this calendar. If a single date is selected, both DateRange.StartDate and DateRange.EndDate are the selected date.
        Returns:
        the selected range of dates.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getDate

        java.util.Date getDate()
                        throws GeneralLeanFtException
        Returns the date selected in this calendar. If a date range is selected, the Date property is the start date of the range.
        Returns:
        the date.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setDateRange

        void setDateRange(java.util.Date firstDate,
                          java.util.Date lastDate)
                   throws GeneralLeanFtException
        Selects a date range in the calendar. The actual date range can be one full week or one full month.
        Parameters:
        firstDate - the start date.
        lastDate - the end date.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setDateRange

        void setDateRange(DateRange dateRange)
                   throws GeneralLeanFtException
        Selects the provided date range in the calendar. The actual date range can be one full week or one full month.
        Parameters:
        dateRange - the date range.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.