com.hp.lft.sdk.sap.ui5

Class CalendarDescription

    • Constructor Detail

      • CalendarDescription

        public CalendarDescription()
        Initializes a new instance of the CalendarDescription class.
      • CalendarDescription

        protected CalendarDescription(CalendarDescription.Init<?> init)
        Initializes a new instance of the CalendarDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setEnabled

        public void setEnabled(java.lang.Boolean enabled)
        Sets whether the calendar is enabled.
        Parameters:
        enabled - true to enable the object.
      • isEnabled

        public java.lang.Boolean isEnabled()
        Returns whether the calendar is enabled.
        Returns:
        True if enabled.
      • setDate

        public void setDate(java.util.Date date)
        Sets the current date on the calendar.
        Parameters:
        date - the current date on the calendar.
      • getDate

        public java.util.Date getDate()
                               throws java.text.ParseException
        Gets the current date on the calendar.
        Returns:
        the current date on the calendar.
        Throws:
        java.text.ParseException - if the parsing process failed.
      • setLocale

        public void setLocale(StringProperty locale)
        Sets the locale of the calendar.
        Parameters:
        locale - a StringProperty(or RegExpProperty) representing the locale on the calendar.
      • setLocale

        public void setLocale(java.lang.String locale)
        Sets the locale of the calendar.
        Parameters:
        locale - the locale of the calendar.
      • getLocale

        public StringProperty getLocale()
        Returns the locale of the application running the calendar.
        Returns:
        the locale of the application running the calendar.