WeeklyRecurrenceRule
Represents a weekly recurrence rule.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class WeeklyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Inheritance: objectRecurrenceRuleWeeklyRecurrenceRule
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the WeeklyRecurrenceRule class.
public WeeklyRecurrenceRule()
Initializes a new instance of the WeeklyRecurrenceRule class.
Initializes a new instance of the WeeklyRecurrenceRule class.
Initializes a new instance of the WeeklyRecurrenceRule class.
Initializes a new instance of the WeeklyRecurrenceRule class.
Fields
public static readonly int DefaultOffset
protected WeeklyRecurrenceRule.MatchOffsetDelegate MatchOffset
Properties
public DayOfWeek? FirstDayOfWeek { get; set; }
Gets the type of the recurrence rule.
public override RecurrenceType Frequency { get; }
The type of the recurrence rule.
Overrides:
Methods
protected override void CopyProperties(RecurrenceRule other)
Overrides:
public override bool Equals(RecurrenceRule other)
Overrides:
protected DayOfWeek GetFirstDayOfWeek(DateTimeFormatInfo dateTimeFormat)
protected virtual DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Gets the occurrence start given a occurrence index.
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
The index.
startDateDateTimeThe start of the reccuring series.
dateTimeFormatDateTimeFormatInfoThe date time format.
Returns:Overrides:
protected virtual DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
protected virtual bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
public override bool MatchAdvancedPattern(DateTime start, DateTimeFormatInfo dateTimeFormat)
Overrides:
protected bool MatchOffsetNegative(DateTime date, DateTimeFormatInfo dateTimeFormat)
protected bool MatchOffsetPositive(DateTime date, DateTimeFormatInfo dateTimeFormat)