[Freeassociation-devel] BYSETPOS

Allen Winter winter at kde.org
Tue Aug 25 06:25:34 PDT 2009


On Wednesday 19 August 2009 5:01:18 am Álvaro Manera wrote:
> Hi again,
> 
> Currently libical doesn't have the proper support of BYSETPOS. 
> 
> The problem is with "BYSETPOS=-1" (no support) and with "BYSETPOS=1" (this 
> workes incorrectly when first day of month is in BYDAY, but has position differ 
> from 1).
> 
> For yearly recurrences with BYSETPOS (rules like 
> "FREQ=YEARLY;COUNT=6;BYDAY=SU,SA;BYMONTH=7,8,9;BYSETPOS=1,-1") there is no 
> support in libical.
> 
> Here is the patch with modification in the iterators. Please check it, and if 
> you think it's ok I'll commit. 
> 
> I have done some testing and it seems to work ok, but if you have more tests 
> please run them   also.
> 

I did.
No problems encountered in the KDE test programs.


Allen Winter | allen at kdab.net | Software Engineer
KDAB (USA), LLC, a KDAB Group company
Tel. USA +1-866-777-KDAB(5322), Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the libical-devel mailing list