Quantcast
Channel: Ns
Viewing all articles
Browse latest Browse all 20

Updated Wiki: Recurrence

$
0
0

The recurrence domain model aims at providing support for defining different kinds of recurrence with daylight saving time support. Daylight saving time support means that ambiguousDateTime are shifted by applying the following conversion: .ToUniversalTime().ToLocalTime().For example the following ambiguous DateTime 27/03/2011 02:30:00 (CET) becomes 27/03/2011 03:30:30 (CET).

This domain model has been designed in order to be independent and reusable by others components (like theScheduledTimer or the ScheduledDelay activity).
You will find here after a description of the recurrence domain model.

image

TypeDescription
Recurrence
  • Provides base methods for occurrence scheduling
OccurrenceSchedule
  • Represents the schedule of an occurrence
PeriodRecurrence
  • Supports recurrence based on a Period (ex: every 2 hours)
DailyRecurrence
  • Supports recurrence based on a Day (ex: every two days)
  • Supports recurrence based on distinct WeekDays (ex: every Tuesday & Thursday)
WeeklyRecurrence
  • Supports recurrence based on distinct WeekDays (ex: every Tuesday & Thursday)
  • Support recurrence based on distinct Weeks (ex: every 2 weeks)
  • Statefull recurrence (in order to support recurrence based on distinct Weeks)
MonthlyRecurrence
  • Supports recurrence based on distinct Months (ex: every January & April)
  • Supports recurrence based on a DayOfMonth (ex: every 23rd)
  • Supports recurrence based on a WeekDaysOfMonth (ex: every Second Tuesday & Thursday of the month)
  • AnyWeekDays indicates if any or all the specified WeekDays are considered when determining the next occurrence
  • When combining AnyWeekDays with the Last position, the latest date and time matching the specified WeekDays is considered

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>