Thanks for the help Lawrence! Have a good one.
Elanco US Inc.
Original Message:
Sent: 03-25-2024 19:26
From: Lawrence Drayton
Subject: Question Related to Operating Schedule (Holiday)
Hey Jason,
Yeah, that's right - You'll need to create one-off instances for each of those holidays. Things like Christmas, and other PH that fall on say First Friday of each October etc are easy to use a recurring rule for. These are a bit more nuanced.
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 03-25-2024 17:51
From: Jason Botea
Subject: Question Related to Operating Schedule (Holiday)
Hey Lawrence,
Thank you for the insight! Really appreciate it! So i need to set up these holidays every year since they are not fixed date, correct? Thanks!
------------------------------
Jason Botea
Elanco US Inc.
Original Message:
Sent: 03-25-2024 06:17
From: Lawrence Drayton
Subject: Question Related to Operating Schedule (Holiday)
Hey Jason,
The holidays you've listed are all related to Easter, which itself does not have a fixed date and is calculated as the first Sunday after the first full moon occurring on or after the equinox.
Given these limitations, a programmatic solution might be necessary:
Karfreitag (Good Friday): Occurs two days before Easter Sunday.
- There's no direct way to create a recurrence rule for Good Friday in RFC 5545 due to its dependence on Easter's date.
Ostermontag (Easter Monday): Occurs the day after Easter Sunday.
- Similarly, a direct recurrence rule for Easter Monday cannot be created with RFC 5545.
Auffahrt (Ascension Day): Occurs 39 days after Easter Sunday.
- This also cannot be directly represented in RFC 5545.
Pfingstmontag (Whit Monday): Occurs the day after Pentecost, which is 50 days after Easter.
- Like the others, this cannot be directly represented.
Because these holidays are based on Easter, which moves annually, and their occurrence is not fixed to a specific date but rather a specific number of days before or after Easter, the RFC 5545 standard does not offer a direct method to encode them as recurring events.
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 03-24-2024 22:41
From: Jason Botea
Subject: Question Related to Operating Schedule (Holiday)
Hi,
I'm looking for insight on the difficulty that I've experienced,
I want to add a holiday to the operating schedule. It is a repeating holiday, but when I check the date, it shifts to different days. (Some in the list will shift to Month next year)
I've tried custom rule, FREQ=YEARLY;WKST=MO;BYMONTH=3;INTERVAL=1;BYDAY=MO;BYSETPOS=-1 but no luck since i was only basing on the Genesys article. Seems i can't get the right order or combination in the custom rule.
Here are the examples of the said holidays:
Karfreitag 3-29-2024 4-18-2025 4-03-2026
Ostermontag 4-01-2024 4-21-2025 4-06-2026
Auffahrt 5-09-2024 5-29-2025 5-14-2026
Pfingstmontag 5-20-2024 6-09-2025 5-25-2026
Do we have a way to create holiday schedule with a different day/month for that just specific holiday for the occurrence? Thanks!
#Unsure/Other
------------------------------
Jason Botea
Elanco US Inc.
------------------------------