ClassWeeklyRecurrenceRule
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
WeeklyRecurrenceRule()
Initializes a new instance of the WeeklyRecurrenceRule class.
Declaration
public WeeklyRecurrenceRule()
WeeklyRecurrenceRule(DateTime, DateTime, WeekDays, int)
Initializes a new instance of the WeeklyRecurrenceRule class.
Declaration
public WeeklyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int interval)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekdays
The week days.
interval
The interval of the recurrence rule.
WeeklyRecurrenceRule(DateTime, DateTime, WeekDays, int, int)
Initializes a new instance of the WeeklyRecurrenceRule class.
Declaration
public WeeklyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int interval, int count)
Parameters
start
The start of the recurrence rule.
end
The end of the recurrence rule.
weekdays
The week days.
interval
The interval of the recurrence rule.
count
The count.
WeeklyRecurrenceRule(DateTime, WeekDays, int)
Initializes a new instance of the WeeklyRecurrenceRule class.
WeeklyRecurrenceRule(DateTime, WeekDays, int, int)
Initializes a new instance of the WeeklyRecurrenceRule class.
Fields
MatchOffset
Declaration
protected WeeklyRecurrenceRule.MatchOffsetDelegate MatchOffset
Field Value
Properties
FirstDayOfWeek
Declaration
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value
Frequency
Gets the type of the recurrence rule.
Declaration
public override RecurrenceType Frequency { get; }
Property Value
The type of the recurrence rule.
Overrides
Offset
Gets or sets the offset.
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
GetFirstDayOfWeek(DateTimeFormatInfo)
Declaration
protected DayOfWeek GetFirstDayOfWeek(DateTimeFormatInfo dateTimeFormat)
Parameters
dateTimeFormat
Returns
GetNegativeOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected virtual DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
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 reccuring series.
dateTimeFormat
The date time format.
Returns
Overrides
GetPositiveOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected virtual DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
IsOffsetMatch(DateTime, DateTimeFormatInfo)
Declaration
protected virtual bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
MatchAdvancedPattern(DateTime, DateTimeFormatInfo)
Declaration
public override bool MatchAdvancedPattern(DateTime start, DateTimeFormatInfo dateTimeFormat)
Parameters
start
dateTimeFormat
Returns
Overrides
MatchOffsetNegative(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchOffsetNegative(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns
MatchOffsetPositive(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchOffsetPositive(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
date
dateTimeFormat
Returns