Link to home
Start Free TrialLog in
Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of jogos
jogos
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial