This is as far as I got on this:
https://github.com/sappjw/calendars/blob/master/Christian.ics - Which isn't Genesys friendly, if you break it down it would be something like 60+ individual schedules/rules. But you wouldn't have to update it ever again. I haven't tried to do it, because that is more effort than it is worth.
If you want to know how the date is calculated for easter and come up with something yourself, check out the wiki page: https://en.wikipedia.org/wiki/Date_of_Easter
Ultimately, this was way to cumbersome for me to do, so I gave up, let me know if you get any further.
Here in NZ we have a second separate holiday that is sidereal in nature, making it again very very difficult to create a rule for. So just gave in to the fact that each year there are at least 3 schedules that need to be manually set.
------------------------------
Anton Vroon
------------------------------
Original Message:
Sent: 10-30-2024 13:17
From: David Rigler
Subject: iCal Recurrence Rule
Has anyone been able to define a recurring rule for days like Good Friday and Easter Monday?
I used FREQ=YEARLY;BYEASTER=1 which the schedule recognises and displays the correct upcoming occurrences but refuses to save the entry because it's not a supported iCalendar RRULE

------------------------------
David Rigler
Professional Services Engineer
Original Message:
Sent: 05-24-2018 16:32
From: Patrick Rada
Subject: iCal Recurrence Rule
Yep.
Define every recurring holiday that way, with the exception of ones that don't have a syntactically definable pattern. For instance: Easter Monday, which, of course, is the Monday following the first Sunday after the first full moon on or after the vernal equinox (and really tough to make an RRULE for). :)
Noticed I accidentally mashed iCal and RRULE in my head in my previous message to make iRule. Oops. :)
------------------------------
Patrick Rada
Keypath Education LLC
Original Message:
Sent: 05-24-2018 14:59
From: Lucie DeCristofaro
Subject: iCal Recurrence Rule
Nice @Patrick Rada! Do you typically enter the RRULE into a custom schedule? We have considered removing the ability to do that as we redesign the screen a little bit and I wanted to make sure it wouldn't cause an issue.
------------------------------
Lucie DeCristofaro
Genesys - Employees
Original Message:
Sent: 05-22-2018 11:09
From: Patrick Rada
Subject: iCal Recurrence Rule
Not sure if this'll help you or anyone else, but "way back" I put together a short list of recurring custom rules. I think I may have been bucking the trend at the time. I know I kept looking for iRule elements that PureCloud doesn't support. :)
Anyway, this is a short sampling of potential recurring rules for Canada, United States, and Australia. Holidays with two rules allow are to provide support for observing the day the Friday before if the holiday occurs on a Saturday. The Independence Day (US) rules schedule holidays for Mon 3 Jul or Fri 5 Jul if 4 July falls on Tue or Thu, respectively. Holidays, such as New Year's Day, have three "BYMONTHDAY" values to allow the first non-weekend day to be observed as the holiday.
Tailor to fit. Your mileage may vary. Metaphors mixed and mischief managed. :D
| Schedule Name | Region | Rule |
| Australia Day | AU | FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=26,27,28;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1 |
| Boxing Day | CA | AU | FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=26,27,28;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1 |
| Canada Day | CA | FREQ=YEARLY;BYMONTH=7;BYMONTHDAY=1;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1 |
| Canada Day (30th) | CA | FREQ=YEARLY;BYMONTH=6;BYMONTHDAY=30;BYDAY=FR;BYSETPOS=-1 |
| Christmas Day | | FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=25,26,27;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1 |
| Christmas Eve | | FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=22,23,24;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1 |
| Civic Day | CA | FREQ=YEARLY;BYMONTH=8;BYDAY=MO;BYSETPOS=1 |
| Family Day | CA | FREQ=YEARLY;BYMONTH=2;BYDAY=MO;BYSETPOS=3 |
| Independence Day | US | FREQ=YEARLY;BYMONTH=7;BYMONTHDAY=4,5;BYDAY=MO,TU,WE,TH;BYSETPOS=1 |
| Independence Day (3rd) | US | FREQ=YEARLY;BYMONTH=7;BYMONTHDAY=3,4;BYDAY=MO,FR;BYSETPOS=-1 |
| Labor Day | US | CA | FREQ=YEARLY;WKST=SU;BYMONTH=9;BYDAY=MO;BYSETPOS=1 |
| Memorial Day | US | FREQ=YEARLY;WKST=SU;BYMONTH=5;BYDAY=MO;BYSETPOS=-1 |
| New Year's Day | | FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=1,2,3;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=1 |
| New Year's Eve | | FREQ=YEARLY;BYMONTH=12;BYMONTHDAY=29,30,31;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1 |
| Thanksgiving Day | CA | FREQ=YEARLY;BYMONTH=10;BYDAY=MO;BYSETPOS=2 |
| Thanksgiving Day | US | FREQ=YEARLY;WKST=SU;BYMONTH=11;BYDAY=TH;BYSETPOS=4 |
| Thanksgiving Day Friday | US | FREQ=YEARLY;BYMONTH=11;BYMONTHDAY=23,24,25,26,27,28,29;BYDAY=FR |
| Victoria Day | CA | FREQ=YEARLY;BYMONTH=5;BYMONTHDAY=18,19,20,21,22,23,24;BYDAY=MO |
------------------------------
Patrick Rada
Keypath Education LLC
Original Message:
Sent: 05-21-2018 09:00
From: Greg Beal
Subject: iCal Recurrence Rule
Lucie,
Thanks for the reply. I understand now the End Date and iCal rule.
And thanks for catching my error there in the Labor Day setting. I guess my paste into that field had the Memorial Day rule. Glad you spotted that.
| Greg Beal |
| Implementation Engineer |
NOTICE: This email message and any attachments hereto may contain confidential
information. Any unauthorized review, use, disclosure, or distribution of such
information is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy the original message and all copies of it.
Original Message------
What day are you trying to set as Labor Day? Is it May 1st or is it the Labor Day in September?
If you are trying to set it for September, you need to set BYMONTH=9. If you want the schedule to be valid until the year 3018, you need to use UNTIL. In the PureCloud UI, do not set the end date as 3018.
Something like this, where the RRULE is set to: FREQ=YEARLY;BYDAY=MO;BYSETPOS=1;BYMONTH=9;UNTIL=30180903T040000Z

To explain it a bit more, the start and end date in the UI denote the start and end of the first occurrence. It works similarly to how you would schedule meetings using Outlook. If you set the start date as Sept 2018 and end date as Sept 3018, then the schedule will be valid for all of 100 years. We are working on making the UI a bit clearer for this case as it's confusing.
In order to create a yearly custom schedule where it's the first Monday of September, you want to set the first occurrence using start and end dates and then using UNTIL you want to note when the schedule should expire.
------------------------------
Lucie DeCristofaro
Genesys - Employees
Original Message:
Sent: 05-17-2018 18:36
From: Greg Beal
Subject: iCal Recurrence Rule
What is the proper Start and End dates to put in a Schedule for Custom Recurrence? See screen shot below.
I've got the iCal Recurrence Rule in there for a Labor Day holiday. Are those Start and End times OK?
When I first created this schedule, the current date was in those fields Start and End fields (5/17/2018) and I assumed the iCal Rule would take precedence, but my test calls all got the Holiday prompts. Figure I need to put something else in there.
Also does the format of my iCal Recurrence Rule look proper?
I used RRULE Generator Tool for Scheduling iCal Recurring Events to generate the rule.
Couldn't find anything about this in Resource Center.

------------------------------
Greg Beal
ConvergeOne
------------------------------