Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic check if recurrence item has a conflict with another appointment (Read 3005 times)
ricardo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Mar 5th, 2013
check if recurrence item has a conflict with another appointment
May 9th, 2013 at 2:11pm
Print Post  
Hello

If I use the recurrence feature of the calendar, how can I do to detect a a conflict occours with another appointment? for example a create a meeting weekend with an nonending time, how to detect if:
1) this appointment doest not conflict with an existing one
2) ones that the recurrence appoinment is created how to detect if someone wants to create a new appointment and the appointment conflicts with the recurrence?

thanks
Ricardo
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: check if recurrence item has a conflict with another appointment
Reply #1 - May 9th, 2013 at 2:57pm
Print Post  
Hi,

It is particularly challenging to detect whether two infinite recurrences overlap at some point in time because you will need to generate all of their occurrences - a process that will be very slow. There might be a  However, you can check whether an individual appointment conflicts with a recurrence by generating the occurrences of the recurrence for the time interval occupied of the appointment. You can do this by calling the Recurrence.GenerateItems method.

I hope this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint