ClassMonthlyRecurrenceRule
Represents a monthly recurrence rule.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class MonthlyRecurrenceRule : WeeklyRecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Inheritance: objectRecurrenceRuleWeeklyRecurrenceRuleMonthlyRecurrenceRule
Derived Classes:
Implements:
Inherited Members
Constructors
MonthlyRecurrenceRule()
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule()
MonthlyRecurrenceRule(DateTime, DateTime, WeekDays, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekdays
The week days.
offset
The offset.
interval
The interval of the recurrence rule.
MonthlyRecurrenceRule(DateTime, DateTime, WeekDays, int, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval, int count)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekdays
The week days.
offset
The offset.
interval
The interval of the recurrence rule.
count
The count.
MonthlyRecurrenceRule(DateTime, DateTime, int, WeekDays, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, int interval)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekNumber
The week number.
weekdays
The week days.
interval
The interval of the recurrence rule.
MonthlyRecurrenceRule(DateTime, DateTime, int, WeekDays, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, int interval, int count)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekNumber
The week number.
weekdays
The week days.
interval
The interval of the recurrence rule.
count
The count.
MonthlyRecurrenceRule(DateTime, DateTime, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int dayNumber, int interval)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
dayNumber
The day number.
interval
The interval of the recurrence rule.
MonthlyRecurrenceRule(DateTime, DateTime, int, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int dayNumber, int interval, int count)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
dayNumber
The day number.
interval
The interval of the recurrence rule.
count
The count.
MonthlyRecurrenceRule(DateTime, WeekDays, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
MonthlyRecurrenceRule(DateTime, WeekDays, int, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(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.
interval
The interval of the recurrence rule.
count
The count.
MonthlyRecurrenceRule(DateTime, int, WeekDays, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
MonthlyRecurrenceRule(DateTime, int, WeekDays, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Declaration
public MonthlyRecurrenceRule(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.
MonthlyRecurrenceRule(DateTime, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
MonthlyRecurrenceRule(DateTime, int, int, int)
Initializes a new instance of the MonthlyRecurrenceRule class.
Fields
Properties
DayNumber
Gets or sets the day number.
Frequency
Gets the type of the recurrence rule.
Declaration
public override RecurrenceType Frequency { get; }
Property Value
The type of the recurrence rule.
Overrides
WeekNumber
Gets or sets the week number.
Declaration
public int WeekNumber { get; set; }
Property Value
The week 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 an occurrence index.
Declaration
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
index
The index.
startDate
The start date of the 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
MatchDayOfMonth(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchDayOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
MatchWeekOfMonth(DateTime, DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchWeekOfMonth(DateTime date, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
date
startDate
dateTimeFormat
Returns
MatchWeekOfMonth(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchWeekOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns