HourlyRecurrenceRule
Represents a hourly recurrence rule.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class HourlyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>
Inheritance: objectRecurrenceRuleHourlyRecurrenceRule
Implements:
Inherited Members
Constructors
Initializes a new instance of the HourlyRecurrenceRule class.
public HourlyRecurrenceRule()
Initializes a new instance of the HourlyRecurrenceRule class.
Initializes a new instance of the HourlyRecurrenceRule class.
Initializes a new instance of the HourlyRecurrenceRule class.
Initializes a new instance of the HourlyRecurrenceRule class.
Properties
Gets the type of the recurrence rule.
public override RecurrenceType Frequency { get; }
The type of the recurrence rule.
Overrides:
Methods
Creates a new instance of the concrete rule type for use by Clone().
protected override RecurrenceRule CreateInstance()
A new instance of the concrete recurrence-rule type.
Overrides:
Returns false for a rule of another type; otherwise compares the shared recurrence settings.
public override bool Equals(RecurrenceRule other)
The rule to compare with this hourly rule.
Returns:Overrides:
Gets the occurrence start for given a occurrence index.
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
The index.
startDateDateTimeThe start of the recurring series.
dateTimeFormatDateTimeFormatInfoThe date time format.
Returns:Overrides:
Tests the candidate occurrence interval against the exception event's start-to-end interval.
public override bool IntersectsWithException(DateTime eventStart, TimeSpan eventDuration, IEvent exception)
The start of the candidate occurrence.
eventDurationTimeSpanThe candidate occurrence duration, used to calculate its end.
exceptionIEventThe exception event to compare with the candidate occurrence.
Returns:true when the constructed intervals intersect; otherwise, false.
Overrides: