YearlyRecurrenceRule
Represents a yearly recurrence rule.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class YearlyRecurrenceRule : MonthlyRecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Inheritance: objectRecurrenceRuleWeeklyRecurrenceRuleMonthlyRecurrenceRuleYearlyRecurrenceRule
Implements:
Inherited Members
Constructors
Initializes a new instance of the YearlyRecurrenceRule class.
public YearlyRecurrenceRule()
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
public YearlyRecurrenceRule(DateTime start, int monthNumber, int weekNumber, WeekDays weekdays, int interval, int count)
The start of the recurrence rule.
monthNumberintThe month number.
weekNumberintThe week number.
weekdaysWeekDaysThe week days.
intervalintThe interval of the recurrence rule.
countintThe count.
Initializes a new instance of the YearlyRecurrenceRule class.
public YearlyRecurrenceRule(DateTime start, int monthNumber, int weekNumber, WeekDays weekdays, int interval)
The start of the recurrence rule.
monthNumberintThe month number.
weekNumberintThe week number.
weekdaysWeekDaysThe week days.
intervalintThe interval of the recurrence rule.
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
public YearlyRecurrenceRule(DateTime start, int monthNumber, WeekDays weekdays, int offset, int interval, int count)
The start of the recurrence rule.
monthNumberintThe month number.
weekdaysWeekDaysThe week days.
offsetintThe offset of the recurrence rule.
intervalintThe interval of the recurrence rule.
countintThe count.
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
Initializes a new instance of the YearlyRecurrenceRule class.
Fields
public static readonly int DefaultMonthNumber
Properties
Gets the type of the recurrence rule.
public override RecurrenceType Frequency { get; }
The type of the recurrence rule.
Overrides:
Gets or sets the month number.
public int MonthNumber { get; set; }
The month number.
Methods
protected override void CopyProperties(RecurrenceRule other)
Overrides:
public override bool Equals(RecurrenceRule other)
Overrides:
protected override DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
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:
protected override DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Overrides:
protected override bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
Overrides:
public override bool MatchAdvancedPattern(DateTime date, DateTimeFormatInfo dateTimeFormat)
Overrides:
protected bool MatchDayNumber(DateTime date, DateTimeFormatInfo dateTimeFormat)
protected bool MatchWeekNumber(DateTime date, DateTimeFormatInfo dateTimeFormat)