25 isset($this->fields[
'RRULE'])
26 && isset($this->fields[
'RRULE'][
'FREQ'])
27 && $this->fields[
'RRULE'][
'FREQ'] !==
'NONE'
32 if (isset($this->fields[
'RRULE'][
'COUNT']))
34 $rule->setCount((
int)$this->fields[
'RRULE'][
'COUNT']);
37 if (is_string($this->fields[
'RRULE'][
'UNTIL']))
42 if (isset($this->fields[
'RRULE'][
'INTERVAL']))
44 $rule->setInterval((
int)$this->fields[
'RRULE'][
'INTERVAL']);
48 is_string($this->fields[
'RRULE'][
'BYDAY'])
49 && $this->fields[
'RRULE'][
'FREQ'] ===
Event\Properties\RecurringEventRules::FREQUENCY_WEEKLY
52 $rule->setByDay(explode(
",", $this->fields[
'RRULE'][
'BYDAY']));
55 is_array($this->fields[
'RRULE'][
'BYDAY'])
56 && $this->fields[
'RRULE'][
'FREQ'] ===
Event\Properties\RecurringEventRules::FREQUENCY_WEEKLY
59 $rule->setByDay($this->fields[
'RRULE'][
'BYDAY']);