We need to parse and calculate the recurrence instances back-end, but we've noticed that our rule generates incorrect dates.
We are using the Recurrence Helper class from this knowledge base article:
https://www.syncfusion.com/kb/10009/how-to-parse-the-recurrencerule-at-server-side
The rule we are trying to parse is: FREQ=MONTHLY;BYDAY=WE;BYSETPOS=5;INTERVAL=1
Meaning, we want an appointment on the last Wednesday of every month.
When we use the above mentioned helper class we get incorrect dates, such as 2020-11-04, which is the first Wednesday of November.
If we use the rule in our Schedule the appointments are calculated correctly, so there's an issue when parsing in the helper class.
Is there a newer version of the helper class available which haven't been made public?