Foros de discusión

Calendar repeat event

gary b, modificado hace 7 años.

Calendar repeat event

Junior Member Mensajes: 81 Fecha de incorporación: 2/02/13 Mensajes recientes
Hi All,

I want to get the end date of repeat event.
Like, today I have created one event from 7 pm to 8 pm which will repeat weekly on every Monday till 3 occurrence, So In database we have start date(29th Aug) and end date(29th Aug) and below rule in recurrence column:
RRULE:FREQ=WEEKLY;COUNT=3;INTERVAL=1;BYDAY=MO

this rule does not contain any end date of recurrence, I want the end date of whole event.
If we see on calendar portlet we can find the dot on 29th Aug , 5th 12th and 19th Sep with same event and can see that event end on 19th Sep.
But how that is getting calculated? There must be some class/method which calculate the end date of recurrence based on above rule but I am not able to find that.

Please help.