• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin
    Desktop
    UI for WinForms UI for WPF UI for WinUI UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore Fiddler Everywhere
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler Classic JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class HourlyRecurrenceRule

Represents a hourly recurrence rule.

Inheritance
System.Object
RecurrenceRule
HourlyRecurrenceRule
Inherited Members
RecurrenceRule.DefaultEndDate
RecurrenceRule.DefaultCount
RecurrenceRule.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.ICloneable.Clone()
RecurrenceRule.TryGetCloseToNextOccurrenceDate(DateTime, Boolean, DateTime)
RecurrenceRule.ExceptionDates
RecurrenceRule.Start
RecurrenceRule.End
RecurrenceRule.EventDuration
RecurrenceRule.Count
RecurrenceRule.Interval
RecurrenceRule.PropertyChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class HourlyRecurrenceRule : RecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>

Constructors

HourlyRecurrenceRule()

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration
public HourlyRecurrenceRule()

HourlyRecurrenceRule(DateTime, DateTime, Int32)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration
public HourlyRecurrenceRule(DateTime start, DateTime end, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

System.Int32 interval

The interval of the recurrence rule.

HourlyRecurrenceRule(DateTime, DateTime, Int32, Int32)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration
public HourlyRecurrenceRule(DateTime start, DateTime end, int interval, int count)
Parameters
System.DateTime start

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The maximum number of occurrences.

HourlyRecurrenceRule(DateTime, Int32)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration
public HourlyRecurrenceRule(DateTime start, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

System.Int32 interval

The interval of the recurrence rule.

HourlyRecurrenceRule(DateTime, Int32, Int32)

Initializes a new instance of the HourlyRecurrenceRule class.

Declaration
public HourlyRecurrenceRule(DateTime start, int interval, int count)
Parameters
System.DateTime start

The start of the recurrence rule.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The maximum number of occurrences.

Properties

Frequency

Gets the type of the recurrence rule.

Declaration
public override RecurrenceType Frequency { get; }
Property Value
RecurrenceType

The type of the recurrence rule.

Overrides
RecurrenceRule.Frequency

Methods

CreateInstance()

Declaration
protected override RecurrenceRule CreateInstance()
Returns
RecurrenceRule

Overrides
RecurrenceRule.CreateInstance()

Equals(RecurrenceRule)

Declaration
public override bool Equals(RecurrenceRule other)
Parameters
RecurrenceRule other

Returns
System.Boolean

Overrides
RecurrenceRule.Equals(RecurrenceRule)

GetOccurrenceStart(Int32, DateTime, DateTimeFormatInfo)

Gets the occurrence start for given a occurrence index.

Declaration
public override DateTime GetOccurrenceStart(int index, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
System.Int32 index

The index.

System.DateTime startDate

The start of the recurring series.

System.Globalization.DateTimeFormatInfo dateTimeFormat

The date time format.

Returns
System.DateTime

Overrides
RecurrenceRule.GetOccurrenceStart(Int32, DateTime, DateTimeFormatInfo)

IntersectsWithException(DateTime, TimeSpan, IEvent)

Declaration
public override bool IntersectsWithException(DateTime eventStart, TimeSpan eventDuration, IEvent exception)
Parameters
System.DateTime eventStart

System.TimeSpan eventDuration

IEvent exception

Returns
System.Boolean

Overrides
RecurrenceRule.IntersectsWithException(DateTime, TimeSpan, IEvent)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.