Hi. I'm using google-rfc-2445 (rev. 35 from SVN) together with Joda-Time 2.1.
The following rule works as expected:
"RRULE:FREQ=WEEKLY;BYDAY=MO,FR;BYHOUR=10,18;COUNT=8"
It gives me the following dates:
Mo, 18.02.2013 10:00
Mo, 18.02.2013 18:00
Fr, 22.02.2013 10:00
Fr, 22.02.2013 18:00
Mo, 25.02.2013 10:00
Mo, 25.02.2013 18:00
Fr, 01.03.2013 10:00
Fr, 01.03.2013 18:00
If I'm setting the BYSETPOS parameter it doesn't seem to work:
"RRULE:FREQ=WEEKLY;BYDAY=MO,FR;BYHOUR=10,18;COUNT=8;BYSETPOS=2,3,4"
results in:
Fr, 22.02.2013 10:00
Fr, 22.02.2013 18:00
Fr, 01.03.2013 10:00
Fr, 01.03.2013 18:00
Fr, 08.03.2013 10:00
Fr, 08.03.2013 18:00
Fr, 15.03.2013 10:00
Fr, 15.03.2013 18:00
which is not what I expected. BYSETPOS=2,3,4 should result in
Monday 18:00, Friday 10:00 and Friday 18:00
At least that's how I understand the BYSETPOS syntax.
Any ideas anyone?