Recursive calculator

I am working on a C # application that is heavily dependent on recurring events. The following types of repetition are supported:

  • Daily replay
  • Weekly replay
  • Monthly recursion

Basically, the application supports all the various combinations of repetitions supported by MS Outlook.

Problem:

The individual occurrence calculated by the system for a recurring event does not take into account daylight saving time, and as a result, the time of occurrence of the error is erroneously displayed by the system. Is there a standard library or third-party module available that can handle recurrence date calculations? Basically, I want an API in the following format.

List<Occurence> GetAllOccurences(DateTime startTimeInUTC, DateTime EndTimeInUTC,    TimeZone targetTimeZone)

class Occurrence
{
    DateTime OccurenceStartDateTime {get;set;}
    DateTime OccurenceEndDateTime {get;set;}
}

Is such an API available? It can make my life easier.

+5
source share
1 answer

" " . Cron, , .

+1

All Articles