Class WeeklyRecurrenceRule
Represents a weekly recurrence rule.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class WeeklyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Constructors
WeeklyRecurrenceRule()
Initializes a new instance of the Weekly
Declaration
public WeeklyRecurrenceRule()
WeeklyRecurrenceRule(DateTime, DateTime, WeekDays, Int32)
Initializes a new instance of the Weekly
Declaration
public WeeklyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int interval)
Parameters
System. The start of the recurrence rule. |
System. The end of the recurrence rule. |
Week The week days. |
System. The interval of the recurrence rule. |
WeeklyRecurrenceRule(DateTime, DateTime, WeekDays, Int32, Int32)
Initializes a new instance of the Weekly
Declaration
public WeeklyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int interval, int count)
Parameters
System. The start of the recurrence rule. |
System. The end of the recurrence rule. |
Week The week days. |
System. The interval of the recurrence rule. |
System. The count. |
WeeklyRecurrenceRule(DateTime, WeekDays, Int32)
Initializes a new instance of the Weekly
Declaration
public WeeklyRecurrenceRule(DateTime start, WeekDays weekdays, int interval)
Parameters
System. The start of the recurrence rule. |
Week The week days. |
System. The interval of the recurrence rule. |
WeeklyRecurrenceRule(DateTime, WeekDays, Int32, Int32)
Initializes a new instance of the Weekly
Declaration
public WeeklyRecurrenceRule(DateTime start, WeekDays weekdays, int interval, int count)
Parameters
System. The start of the recurrence rule. |
Week The week days. |
System. The interval of the recurrence rule. |
System. The count. |
Fields
DefaultOffset
Declaration
public static readonly int DefaultOffset
Field Value
System.
|
MatchOffset
Declaration
protected WeeklyRecurrenceRule.MatchOffsetDelegate MatchOffset
Field Value
Properties
FirstDayOfWeek
Declaration
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value
System.
|
Frequency
Gets the type of the recurrence rule.
Declaration
public override RecurrenceType Frequency { get; }
Property Value
Recurrence The type of the recurrence rule. |
Overrides
Offset
Gets or sets the offset.
Declaration
public int Offset { get; set; }
Property Value
System. The offset. |
WeekDays
Gets or sets the week days.
Declaration
public WeekDays WeekDays { get; set; }
Property Value
Week The week days. |
Methods
AreWeekDaysIncluded(WeekDays)
Declaration
public bool AreWeekDaysIncluded(WeekDays days)
Parameters
Week
|
Returns
System.
|
CopyProperties(RecurrenceRule)
Declaration
protected override void CopyProperties(RecurrenceRule other)
Parameters
Recurrence
|
Overrides
CreateInstance()
Declaration
protected override RecurrenceRule CreateInstance()
Returns
Overrides
Equals(RecurrenceRule)
Declaration
public override bool Equals(RecurrenceRule other)
Parameters
Recurrence
|
Returns
System.
|
Overrides
ExcludeWeekDays(WeekDays)
GetFirstDayOfWeek(DateTimeFormatInfo)
Declaration
protected DayOfWeek GetFirstDayOfWeek(DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
Returns
System.
|
GetNegativeOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected virtual DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|
GetOccurrenceStart(Int32, DateTime, DateTimeFormatInfo)
Gets the occurrence start given a occurrence index.
Declaration
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
System. The index. |
System. The start of the reccuring series. |
System. The date time format. |
Returns
System.
|
Overrides
GetPositiveOffsetStart(DateTime, DateTimeFormatInfo)
Declaration
protected virtual DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|
IncludeWeekDays(WeekDays)
IntersectsWithException(DateTime, TimeSpan, IEvent)
Declaration
public override bool IntersectsWithException(DateTime eventStart, TimeSpan eventDuration, IEvent exception)
Parameters
System.
|
System.
|
IEvent
exception
|
Returns
System.
|
Overrides
IsOffsetMatch(DateTime, DateTimeFormatInfo)
Declaration
protected virtual bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|
MatchAdvancedPattern(DateTime, DateTimeFormatInfo)
Declaration
public override bool MatchAdvancedPattern(DateTime start, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|
Overrides
MatchDayOfWeekMask(DateTime, Calendar)
Declaration
protected bool MatchDayOfWeekMask(DateTime start, Calendar calendar)
Parameters
System.
|
System.
|
Returns
System.
|
MatchOffsetNegative(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchOffsetNegative(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|
MatchOffsetPositive(DateTime, DateTimeFormatInfo)
Declaration
protected bool MatchOffsetPositive(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.
|
System.
|
Returns
System.
|