I have a requisite on which I need to convert a RFC 2445 Recurrence Pattern to Dates using PLSQL.
Example:
RRULE = FREQ=DAILY;INTERVAL=5;COUNT=10
From that rule, I need to write a table with the next 10 occurrences of that pattern. Something like the image bellow, considering start date as 1/1/2019 12:00:00 AM:
Does Oracle provides any PLSQL Package that allows me to do this? If doesn't, does anybody knows any PLSQL project initiative for this?
Ps: this is the same exactly pattern that Oracle uses on Job Schedules.

DBMS_SCHEDULER.EVALUATE_CALENDAR_STRINGmight be able to do this.The syntax supported by the package seems similar to RFC 2445, but not identical. The below PL/SQL block prints out the dates based on a calendar string. There are some complications, such as parsing out the
COUNT=10to determine how many times to repeat the calculation.Output: