java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<RecurrenceRuleValue>
jfxtras.icalendarfx.properties.component.recurrence.rrule.RecurrenceRuleValue
All Implemented Interfaces:
VChild, VElement, VParent

public class RecurrenceRuleValue extends VParentBase<RecurrenceRuleValue> implements VChild
RRULE Recurrence Rule RFC 5545 iCalendar 3.3.10 page 38 Contains the following Recurrence Rule elements: COUNT UNTIL FREQUENCY INTERVAL BYxxx RULES in a List The value part of the recurrence rule. It supports the following elements:
( "FREQ" "=" freq )
( "UNTIL" "=" enddate )
( "COUNT" "=" 1*DIGIT )
( "INTERVAL" "=" 1*DIGIT )
( "BYSECOND" "=" byseclist )
( "BYMINUTE" "=" byminlist )
( "BYHOUR" "=" byhrlist )
( "BYDAY" "=" bywdaylist )
( "BYMONTHDAY" "=" bymodaylist )
( "BYYEARDAY" "=" byyrdaylist )
( "BYWEEKNO" "=" bywknolist )
( "BYMONTH" "=" bymolist )
( "BYSETPOS" "=" bysplist )
( "WKST" "=" weekday )
In addition to methods to support iCalendar recurrence rule parts, there is a method streamRecurrences(Temporal) that produces a stream of start date/times for the recurrences defined by the rule.
See Also:
  • Field Details

    • myParent

      private VParent myParent
    • NAME

      private static final String NAME
      See Also:
    • byRules

      private List<ByRule<?>> byRules
    • count

      private Count count
      COUNT: RFC 5545 iCalendar 3.3.10, page 41 The COUNT rule part defines the number of occurrences at which to range-bound the recurrence. The "DTSTART" property value always counts as the first occurrence.
    • frequency

      private Frequency frequency
      FREQUENCY FREQ RFC 5545 iCalendar 3.3.10 p40 required element The FREQ rule part identifies the type of recurrence rule. This rule part MUST be specified in the recurrence rule. Valid values include SECONDLY, to specify repeating events based on an interval of a second or more; MINUTELY, to specify repeating events based on an interval of a minute or more; HOURLY, to specify repeating events based on an interval of an hour oparseContentr more; DAILY, to specify repeating events based on an interval of a day or more; WEEKLY, to specify repeating events based on an interval of a week or more; MONTHLY, to specify repeating events based on an interval of a month or more; and YEARLY, to specify repeating events based on an interval of a year or more.
    • interval

      private Interval interval
      INTERVAL RFC 5545 iCalendar 3.3.10, page 40 The INTERVAL rule part contains a positive integer representing at which intervals the recurrence rule repeats. The default value is "1", meaning every second for a SECONDLY rule, every minute for a MINUTELY rule, every hour for an HOURLY rule, every day for a DAILY rule, every week for a WEEKLY rule, every month for a MONTHLY rule, and every year for a YEARLY rule. For example, within a DAILY rule, a value of "8" means every eight days.
    • until

      private Until until
      UNTIL: RFC 5545 iCalendar 3.3.10, page 41 The UNTIL rule part defines a DATE or DATE-TIME value that bounds the recurrence rule in an inclusive manner. If the value specified by UNTIL is synchronized with the specified recurrence, this DATE or DATE-TIME becomes the last instance of the recurrence. The value of the UNTIL rule part MUST have the same value type as the "DTSTART" property. Furthermore, if the "DTSTART" property is specified as a date with local time, then the UNTIL rule part MUST also be specified as a date with local time. If the "DTSTART" property is specified as a date with UTC time or a date with local time and time zone reference, then the UNTIL rule part MUST be specified as a date with UTC time. In the case of the "STANDARD" and "DAYLIGHT" sub-components the UNTIL rule part MUST always be specified as a date with UTC time. If specified as a DATE-TIME value, then it MUST be specified in a UTC time format. If not present, and the COUNT rule part is also not present, the "RRULE" is considered to repeat forever
    • weekStart

      private WeekStart weekStart
      Week Start WKST: RFC 5545 iCalendar 3.3.10, page 42 The WKST rule part specifies the day on which the workweek starts. Valid values are MO, TU, WE, TH, FR, SA, and SU. This is significant when a WEEKLY "RRULE" has an interval greater than 1, and a BYDAY rule part is specified. This is also significant when in a YEARLY "RRULE" when a BYWEEKNO rule part is specified. The default value is MO.
    • chronoUnit

      private ChronoUnit chronoUnit
    • myStream

      private Stream<Temporal> myStream
  • Constructor Details

    • RecurrenceRuleValue

      public RecurrenceRuleValue()
    • RecurrenceRuleValue

      public RecurrenceRuleValue(RecurrenceRuleValue source)
  • Method Details