类 MinMaxDateEvaluator

    • 构造器详细资料

      • MinMaxDateEvaluator

        public MinMaxDateEvaluator()
    • 方法详细资料

      • isSpecial

        public boolean isSpecial​(Date date)
        从接口复制的说明: IDateEvaluator
        Checks if a date is a special date (might have different colors and tooltips)
        指定者:
        isSpecial 在接口中 IDateEvaluator
        参数:
        date - the date to check
        返回:
        true, if the date can be selected
      • isInvalid

        public boolean isInvalid​(Date date)
        从接口复制的说明: IDateEvaluator
        Checks if a date is invalid for selection
        指定者:
        isInvalid 在接口中 IDateEvaluator
        参数:
        date - the date to check
        返回:
        true, if the date is invalid and cannot be selected
      • setMaxSelectableDate

        public Date setMaxSelectableDate​(Date max)
        Sets the maximum selectable date. If null, the date 01\01\9999 will be set instead.
        参数:
        max - the maximum selectable date
        返回:
        the maximum selectable date
      • setMinSelectableDate

        public Date setMinSelectableDate​(Date min)
        Sets the minimum selectable date. If null, the date 01\01\0001 will be set instead.
        参数:
        min - the minimum selectable date
        返回:
        the minimum selectable date
      • getMaxSelectableDate

        public Date getMaxSelectableDate()
        Gets the maximum selectable date.
        返回:
        the maximum selectable date
      • getMinSelectableDate

        public Date getMinSelectableDate()
        Gets the minimum selectable date.
        返回:
        the minimum selectable date