ClassYearlyRecurrenceRule
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
YearlyRecurrenceRule()
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule()
YearlyRecurrenceRule(DateTime, WeekDays, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
YearlyRecurrenceRule(DateTime, WeekDays, int, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, WeekDays weekdays, int offset, int interval, int count)
Parameters
start
The start of the recurrence rule.
weekdays
The week days.
offset
The offset of the recurrence rule.
interval
The interval of the recurrence rule.
count
The count.
YearlyRecurrenceRule(DateTime, int, WeekDays, int)
Initializes a new instance of the YearlyRecurrenceRule class.
YearlyRecurrenceRule(DateTime, int, WeekDays, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, int weekNumber, WeekDays weekdays, int interval, int count)
Parameters
start
The start of the recurrence rule.
weekNumber
The week number.
weekdays
The week days.
interval
The interval of the recurrence rule.
count
The count.
YearlyRecurrenceRule(DateTime, int, WeekDays, int, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, int monthNumber, WeekDays weekdays, int offset, int interval, int count)
Parameters
start
The start of the recurrence rule.
monthNumber
The month number.
weekdays
The week days.
offset
The offset of the recurrence rule.
interval
The interval of the recurrence rule.
count
The count.
YearlyRecurrenceRule(DateTime, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
YearlyRecurrenceRule(DateTime, int, int, WeekDays, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, int monthNumber, int weekNumber, WeekDays weekdays, int interval)
Parameters
start
The start of the recurrence rule.
monthNumber
The month number.
weekNumber
The week number.
weekdays
The week days.
interval
The interval of the recurrence rule.
YearlyRecurrenceRule(DateTime, int, int, WeekDays, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, int monthNumber, int weekNumber, WeekDays weekdays, int interval, int count)
Parameters
start
The start of the recurrence rule.
monthNumber
The month number.
weekNumber
The week number.
weekdays
The week days.
interval
The interval of the recurrence rule.
count
The count.
YearlyRecurrenceRule(DateTime, int, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
YearlyRecurrenceRule(DateTime, int, int, int, int)
Initializes a new instance of the YearlyRecurrenceRule class.
Declaration
public YearlyRecurrenceRule(DateTime start, int monthNumber, int dayNumber, int interval, int count)
Parameters
start
The start of the recurrence rule.
monthNumber
The month number.
dayNumber
The day number.
interval
The interval of the recurrence rule.
count
The count.
Fields
Properties
Frequency
Gets the type of the recurrence rule.
Declaration
public override RecurrenceType Frequency { get; }
Property Value
The type of the recurrence rule.
Overrides
MonthNumber
Gets or sets the month number.
Declaration
public int MonthNumber { get; set; }
Property Value
The month number.
Methods
CopyProperties(RecurrenceRule)
Declaration
protected override void CopyProperties(RecurrenceRule other)
Parameters
other
Overrides
CreateInstance()
Declaration
protected override RecurrenceRule CreateInstance()
Returns
Overrides
Equals(RecurrenceRule)
Declaration
public override bool Equals(RecurrenceRule other)
Parameters
other
Returns
Overrides
GetNegativeOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected override DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
Overrides
GetOccurrenceStart(int, DateTime, DateTimeFormatInfo)
Gets the occurrence start given a occurrence index.
Declaration
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
index
The index.
startDate
The start of the recurring series.
dateTimeFormat
The date time format.
Returns
Overrides
GetPositiveOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected override DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
Overrides
IsOffsetMatch(DateTime, DateTimeFormatInfo)
Declaration
protected override bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
Overrides
MatchAdvancedPattern(DateTime, DateTimeFormatInfo)
Declaration
public override bool MatchAdvancedPattern(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
Overrides
MatchDayNumber(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchDayNumber(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
MatchWeekNumber(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchWeekNumber(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns