I am implementing appointment booking functionality using jqxSchedule. I am creating one API using .net MVC where i need to check whether or not given date is within the range of dates with recurrence. How can i check whether given date falls within the range of dates of different appointments having different recurrence pattern. i.e Repeat every 2nd week on every Monday and Wednesday till 10 occurrence.
I have added screenshot for reference :
When i pass "11-Dec-2019" it should return appointments with "New Appointment" and "Appointment" When i pass "18-Dec-2019" it should return appointments with "New Appointment"
Example of recurrence pattern i have : "DTSTART=20191210T063000Z;UNTIL=99991230T183000Z;COUNT=10;FREQ=Weekly;BYDAY=MO,WE;WKST=0;INTERVAL=2"
Any help will be appreciated.