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
Initializes a new instance of the MonthlyRecurrenceRule class.
public MonthlyRecurrenceRule()
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, int interval, int count)
The start of the recurrence rule.
endDateTimeThe end of the recurrence rule.
weekNumberintThe week number.
weekdaysWeekDaysThe week days.
intervalintThe interval of the recurrence rule.
countintThe count.
Initializes a new instance of the MonthlyRecurrenceRule class.
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, int interval)
The start of the recurrence rule.
endDateTimeThe end of the recurrence rule.
weekNumberintThe week number.
weekdaysWeekDaysThe week days.
intervalintThe interval of the recurrence rule.
Initializes a new instance of the MonthlyRecurrenceRule class.
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval, int count)
The start of the recurrence rule.
endDateTimeThe end of the recurrence rule.
weekdaysWeekDaysThe week days.
offsetintThe offset.
intervalintThe interval of the recurrence rule.
countintThe count.
Initializes a new instance of the MonthlyRecurrenceRule class.
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval)
The start of the recurrence rule.
endDateTimeThe end of the recurrence rule.
weekdaysWeekDaysThe week days.
offsetintThe offset.
intervalintThe interval of the recurrence rule.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Initializes a new instance of the MonthlyRecurrenceRule class.
Fields
public static readonly int DefaultDayNumber
public static readonly int DefaultWeekNumber
Properties
Gets or sets the day number.
public int DayNumber { get; set; }
The day number.
Gets the type of the recurrence rule.
public override RecurrenceType Frequency { get; }
The type of the recurrence rule.
Overrides:
Gets or sets the week number.
public int WeekNumber { get; set; }
The week 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 an occurrence index.
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
The index.
startDateDateTimeThe start date of the 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 MatchDayOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
protected bool MatchWeekOfMonth(DateTime date, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
protected bool MatchWeekOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)