Class
HourlyRecurrenceRule

Represents a hourly recurrence rule.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class HourlyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>

Inheritance: objectRecurrenceRuleHourlyRecurrenceRule

Implements: ICloneableIEquatable<RecurrenceRule>INotifyPropertyChanged

Inherited Members RecurrenceRule.DefaultEndDateRecurrenceRule.DefaultCountRecurrenceRule.CreateRule(RecurrenceType)RecurrenceRule.SuspendNotifications()RecurrenceRule.ResumeNotifications()RecurrenceRule.OnPropertyChanged(string)RecurrenceRule.MatchAdvancedPattern(DateTime, DateTimeFormatInfo)RecurrenceRule.IsExceptionDate(DateTime)RecurrenceRule.IsValid()RecurrenceRule.Equals(object)RecurrenceRule.GetHashCode()RecurrenceRule.ToString()RecurrenceRule.CopyProperties(RecurrenceRule)RecurrenceRule.Clone()RecurrenceRule.TryGetCloseToNextOccurrenceDate(DateTime, bool, out DateTime)RecurrenceRule.ExceptionDatesRecurrenceRule.StartRecurrenceRule.EndRecurrenceRule.EventDurationRecurrenceRule.CountRecurrenceRule.IntervalRecurrenceRule.PropertyChanged

Constructors

HourlyRecurrenceRule()

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration

cs-api-definition
public HourlyRecurrenceRule()

HourlyRecurrenceRule(DateTime, DateTime, int)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration

cs-api-definition
public HourlyRecurrenceRule(DateTime start, DateTime end, int interval)

Parameters

start

DateTime

The start of the recurrence rule.

end

DateTime

The end of the recurrence rule.

interval

int

The interval of the recurrence rule.

HourlyRecurrenceRule(DateTime, DateTime, int, int)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration

cs-api-definition
public HourlyRecurrenceRule(DateTime start, DateTime end, int interval, int count)

Parameters

start

DateTime

The start of the recurrence rule.

end

DateTime

The end of the recurrence rule.

interval

int

The interval of the recurrence rule.

count

int

The maximum number of occurrences.

HourlyRecurrenceRule(DateTime, int)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration

cs-api-definition
public HourlyRecurrenceRule(DateTime start, int interval)

Parameters

start

DateTime

The start of the recurrence rule.

interval

int

The interval of the recurrence rule.

HourlyRecurrenceRule(DateTime, int, int)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration

cs-api-definition
public HourlyRecurrenceRule(DateTime start, int interval, int count)

Parameters

start

DateTime

The start of the recurrence rule.

interval

int

The interval of the recurrence rule.

count

int

The maximum number of occurrences.

Properties

Frequency

Gets the type of the recurrence rule.

Declaration

cs-api-definition
public override RecurrenceType Frequency { get; }

Property Value

RecurrenceType

The type of the recurrence rule.

Overrides RecurrenceRule.Frequency

Methods

CreateInstance()

Declaration

cs-api-definition
protected override RecurrenceRule CreateInstance()

Returns

RecurrenceRule

Overrides RecurrenceRule.CreateInstance()

Equals(RecurrenceRule)

Declaration

cs-api-definition
public override bool Equals(RecurrenceRule other)

Parameters

other

RecurrenceRule

Returns

bool

Overrides RecurrenceRule.Equals(RecurrenceRule)

GetOccurrenceStart(int, DateTime, DateTimeFormatInfo)

Gets the occurrence start for given a occurrence index.

Declaration

cs-api-definition
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)

Parameters

index

int

The index.

startDate

DateTime

The start of the recurring series.

dateTimeFormat

DateTimeFormatInfo

The date time format.

Returns

DateTime

Overrides RecurrenceRule.GetOccurrenceStart(int, DateTime, DateTimeFormatInfo)

IntersectsWithException(DateTime, TimeSpan, IEvent)

Declaration

cs-api-definition
public override bool IntersectsWithException(DateTime eventStart, TimeSpan eventDuration, IEvent exception)

Parameters

eventStart

DateTime

eventDuration

TimeSpan

exception

IEvent

Returns

bool

Overrides RecurrenceRule.IntersectsWithException(DateTime, TimeSpan, IEvent)