Subject: | DateTime::Format::ICal->parse_recurrence() dies when the rrule has both BYMONTH and BYMONTHDAY |
Example:
```
use DateTime::Format::ISO8601;
use DateTime::Format::ICal;
my $range_start = "2016-12-18";
my $range_end = "2017-01-08";
my $interval = 'INTERVAL=5;FREQ=MONTHLY;BYMONTH=3,6,9,1;BYMONTHDAY=2';
my $format = DateTime::Format::ISO8601->new;
my $start_dt = $format->parse_datetime($range_start);
my $end_dt = $format->parse_datetime($range_end);
my $set = DateTime::Format::ICal->parse_recurrence( recurrence => $interval, dtstart => $start_dt, dtend => $end_dt );
my $iter = $set->iterator;
while ( my $dt = $iter->next ) {
print "$dt\n";
}
```
Run that and parse_recurrence() will die w/:
```Can't call method "is_infinite" on an undefined value at …/DateTime/Event/Recurrence.pm line 822.```
Take out either BYMONTH and BYMONTHDAY and it will be fine.