Can anyone refer me to a data structure for holding cyclic/recurrence information?

Holding cyclic or recurrence information must be pretty common. An example of it would be the appointment recurrence dialog in Outlook.

I just wondered if there already exists a common or standard data structure for holding the details, rather than my trying to work through it from first principles.

Following the Outlook model, the following might be applicable, but I haven't suggested any data types:

time_start
time_end
time_duration
pattern_cycle (daily, weekly, monthly, yearly)
pattern_recurrence (e.g. recur every 2 weeks)
pattern_day (m t w t f s s)
pattern_weekday (flag)
pattern_day_of_month
pattern_week_of_month
range_start
range_end_date
range_end_count
purplesoupAsked:
Who is Participating?
 
jogosConnect With a Mentor Commented:
Don't look to far ... sqlAgent  the shedule of the jobs in dbo.sysschedules
http://msdn.microsoft.com/en-us/library/ms178644.aspx
0
All Courses

From novice to tech pro — start learning today.