Class Repeats<T extends Temporal>

  • Type Parameters:
    T - the temporal type to which this rule will be applied
    All Implemented Interfaces:
    Serializable, Comparable<net.fortuna.ical4j.model.Property>, net.fortuna.ical4j.model.FluentProperty

    public class Repeats<T extends Temporal>
    extends net.fortuna.ical4j.model.property.RRule<T>
    Provides a simpler abstraction of iCalendar recurrence rules.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class net.fortuna.ical4j.model.property.RRule

        net.fortuna.ical4j.model.property.RRule.Factory<T extends Temporal>
    • Constructor Summary

      Constructors 
      Constructor Description
      Repeats​(org.threeten.extra.Days interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Hours interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Minutes interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Months interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Seconds interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Weeks interval)
      How often the recurrence repeats (i.e.
      Repeats​(org.threeten.extra.Years interval)
      How often the recurrence repeats (i.e.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Repeats<T> on​(Integer... dayOfMonth)
      On which day of the month the recurrence repeats (BYMONTHDAY).
      Repeats<T> on​(DayOfWeek... day)
      On which day of the week the recurrence repeats (BYDAY).
      Repeats<T> on​(Month... month)  
      Repeats<T> times​(int count)
      The total number of occurrences (i.e.
      Repeats<T> until​(T endDate)
      The end date of the recurrence (i.e.
      • Methods inherited from class net.fortuna.ical4j.model.property.RRule

        getRecur, getValue, newFactory, setRecur, setValue, validate
      • Methods inherited from class net.fortuna.ical4j.model.Property

        add, compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, hashCode, remove, removeAll, replace, setParameters, setPrefix, toString
      • Methods inherited from interface net.fortuna.ical4j.model.FluentProperty

        withParameter
    • Constructor Detail

      • Repeats

        public Repeats​(org.threeten.extra.Years interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Months interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Weeks interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Days interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Hours interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Minutes interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
      • Repeats

        public Repeats​(org.threeten.extra.Seconds interval)
        How often the recurrence repeats (i.e. interval).
        Parameters:
        interval -
    • Method Detail

      • on

        public Repeats<T> on​(DayOfWeek... day)
        On which day of the week the recurrence repeats (BYDAY).
        Parameters:
        day -
      • on

        public Repeats<T> on​(Integer... dayOfMonth)
        On which day of the month the recurrence repeats (BYMONTHDAY).
        Parameters:
        dayOfMonth -
      • until

        public Repeats<T> until​(T endDate)
        The end date of the recurrence (i.e. until).
        Parameters:
        endDate -
        Returns:
      • times

        public Repeats<T> times​(int count)
        The total number of occurrences (i.e. count).
        Parameters:
        count -
        Returns: