OL recurrence question

Reinhold Kainhofer reinhold at kainhofer.com
Wed Oct 27 13:22:28 CEST 2004


On Wednesday 27 October 2004 13:08, David Faure wrote:
> Hi Joon,
>
> Can Outlook handle recurrences like
> "every last thursday of the month" ?
>
> In ical this is RRULE:FREQ=MONTHLY;BYDAY=TH;BYSETPOS=-1

Last thursday of the month would be (no bysetpos needed):
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=-1TH
Yours is not wrong, but too complicated.

However, last weekday of the month needs to be written as 
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
or the first weekday:
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1

Or the first month-start of each year that falls on a monday:
RRULE:FREQ=YEARLY;BYDAY=MO;BYMONTHDAY=1;BYSETPOS=1

libkcal can't hande bysetpos currently at all.

> The XML for it could be like
>   <daynumber>-1</daynumber>

Wouldn't that indicate the date (e.g. the 27th), instead of the index in the 
set of dates generated by the RRULE?

>   <day>thursday</day>
>
> but does outlook support this notion?

Evolution certainly does, but that's off-topic for kolab...

Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer / KPilot maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/format/attachments/20041027/1459c521/attachment.sig>


More information about the format mailing list