Class RRule

    • Constructor Detail

      • RRule

        public RRule()
        Default constructor.
      • RRule

        public RRule​(String value)
              throws ParseException
        Parameters:
        value - a rule string
        Throws:
        ParseException - where the if the UNTIL part of the recurrence string is an invalid date representation
        IllegalArgumentException - where the recurrence string contains an unrecognised token
      • RRule

        public RRule​(ParameterList aList,
                     String aValue)
              throws ParseException
        Parameters:
        aList - a list of parameters for this component
        aValue - a value string for this component
        Throws:
        ParseException - thrown when the specified string is not a valid representaton of a recurrence
        See Also:
        Recur(String)
      • RRule

        public RRule​(Recur aRecur)
        Parameters:
        aRecur - a recurrence value
      • RRule

        public RRule​(ParameterList aList,
                     Recur aRecur)
        Parameters:
        aList - a list of parameters for this component
        aRecur - a recurrence value
    • Method Detail

      • getRecur

        public final Recur getRecur()
        Returns:
        Returns the recur.
      • setValue

        public final void setValue​(String aValue)
                            throws ParseException
        Sets the current value of the property.
        Specified by:
        setValue in class Property
        Parameters:
        aValue - a string representation of the property value
        Throws:
        ParseException - possibly thrown by setting the value of certain properties
      • getValue

        public final String getValue()
        Specified by:
        getValue in class Content
        Returns:
        the content value