Class VRepeatableBase<T>

Type Parameters:
T - - concrete subclass
All Implemented Interfaces:
VComponent, VRepeatable<T>, VChild, VElement, VParent
Direct Known Subclasses:
StandardOrDaylight

public abstract class VRepeatableBase<T> extends VPrimary<T> implements VRepeatable<T>
Contains following properties:
See Also:
  • Field Details

  • Constructor Details

    • VRepeatableBase

      VRepeatableBase()
    • VRepeatableBase

      public VRepeatableBase(VRepeatableBase<T> source)
  • Method Details

    • getRecurrenceDates

      public List<RecurrenceDates> getRecurrenceDates()
      RDATE Recurrence Date-Times RFC 5545 iCalendar 3.8.5.2, page 120. This property defines the list of DATE-TIME values for recurring events, to-dos, journal entries, or time zone definitions. NOTE: DOESN'T CURRENTLY SUPPORT PERIOD VALUE TYPE
      Specified by:
      getRecurrenceDates in interface VRepeatable<T>
    • setRecurrenceDates

      public void setRecurrenceDates(List<RecurrenceDates> recurrenceDates)
      Specified by:
      setRecurrenceDates in interface VRepeatable<T>
    • getRecurrenceRule

      public RecurrenceRule getRecurrenceRule()
      RRULE, Recurrence Rule RFC 5545 iCalendar 3.8.5.3, page 122. This property defines a rule or repeating pattern for recurring events, to-dos, journal entries, or time zone definitions If component is not repeating the value is null. Examples: RRULE:FREQ=DAILY;COUNT=10 RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH
      Specified by:
      getRecurrenceRule in interface VRepeatable<T>
    • setRecurrenceRule

      public void setRecurrenceRule(RecurrenceRule recurrenceRule)
      Specified by:
      setRecurrenceRule in interface VRepeatable<T>
    • streamRecurrences

      public Stream<Temporal> streamRecurrences(Temporal start)
      Description copied from interface: VRepeatable
      Produces a stream of dates or date-times (depending on DTSTART) that represents the start of each element in the recurrence set. The values are calculated after applying DTSTART, RDATE, RRULE, and EXDATE properties. If the RRULE is forever, then the stream has no end as well. For a VEvent without RRULE or RDATE the stream will contain only one element.
      Specified by:
      streamRecurrences in interface VRepeatable<T>
      Parameters:
      start - - include recurrences that END before this value
      Returns:
      - stream of start dates or date/times for the recurrence set
    • errors

      public List<String> errors()
      Description copied from interface: VElement
      Produces a list of error messages indicating problems with calendar element VElement.errors() is invoked recursively to return errors of child elements in addition to errors in parent
      Specified by:
      errors in interface VElement
      Overrides:
      errors in class VParentBase<T>
      Returns:
      - list of error messages
    • errorsRepeatable

      protected static List<String> errorsRepeatable(VRepeatable<?> testObj)
    • errorsRecurrence

      protected static List<String> errorsRecurrence(List<? extends PropertyBaseRecurrence<?>> recurrenceDates, DateTimeStart dtstart)
    • recurrenceCache

      public RecurrenceRuleCache recurrenceCache()
      Description copied from interface: VRepeatable
      Handles caching of recurrence start Temporal values.
      Specified by:
      recurrenceCache in interface VRepeatable<T>