DailyRecurrenceRule
Represents a daily recurrence rule.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class DailyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Inheritance: objectRecurrenceRuleDailyRecurrenceRule
Implements:
Inherited Members
Constructors
Initializes a new instance of the DailyRecurrenceRule class.
public DailyRecurrenceRule()
Initializes a new instance of the DailyRecurrenceRule class.
Initializes a new instance of the DailyRecurrenceRule class.
Initializes a new instance of the DailyRecurrenceRule class.
Initializes a new instance of the DailyRecurrenceRule class.
Properties
Gets the type of the recurrence rule.
public override RecurrenceType Frequency { get; }
The type of the recurrence rule.
Overrides:
Methods
Creates a new instance of the concrete rule type for use by Clone().
protected override RecurrenceRule CreateInstance()
A new instance of the concrete recurrence-rule type.
Overrides:
Returns false for a rule of another type; otherwise compares the shared recurrence settings.
public override bool Equals(RecurrenceRule other)
The rule to compare with this daily rule.
Returns:Overrides:
Gets the occurrence start given a occurrence index.
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
The index.
startDateDateTimeThe start of the recurring series.
dateTimeFormatDateTimeFormatInfoThe date time format.
Returns:Overrides:
Matches an exception by calendar date, regardless of the events' times or durations.
public override bool IntersectsWithException(DateTime eventStart, TimeSpan eventDuration, IEvent exception)
The start of the candidate occurrence.
eventDurationTimeSpanThe candidate occurrence duration; it does not affect date matching.
exceptionIEventThe exception event to compare with the candidate occurrence.
Returns:true when both starts fall on the same year and day of year; otherwise, false.
Overrides: