• Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • 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 .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    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
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class WeeklyRecurrenceRule

Represents a weekly recurrence rule.

Inheritance
System.Object
RecurrenceRule
WeeklyRecurrenceRule
MonthlyRecurrenceRule
Inherited Members
RecurrenceRule.CreateRule(RecurrenceType)
RecurrenceRule.Equals(Object)
RecurrenceRule.GetHashCode()
RecurrenceRule.ToString()
RecurrenceRule.Clone()
RecurrenceRule.ICloneable.Clone()
RecurrenceRule.Start
RecurrenceRule.End
RecurrenceRule.Count
RecurrenceRule.Interval
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.ReportServer.Services.Models.RecurrenceRules
Assembly: Telerik.ReportServer.Services.Models.dll

Syntax

public class WeeklyRecurrenceRule : RecurrenceRule, ICloneable, IEquatable<RecurrenceRule>

Constructors

WeeklyRecurrenceRule()

Initializes a new instance of the WeeklyRecurrenceRule class.

Declaration
public WeeklyRecurrenceRule()

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

Offset

Gets or sets the offset.

Declaration
public int Offset { get; set; }
Property Value
System.Int32

The offset.

WeekDays

Gets or sets the week days.

Declaration
public WeekDays WeekDays { get; set; }
Property Value
WeekDays

The week days.

Methods

Equals(RecurrenceRule)

Indicates whether this RecurrenceRule instance and the specified object are equal.

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

Another object to compare to.

Returns
System.Boolean

true if obj is equal to this instance; otherwise, false.

Overrides
RecurrenceRule.Equals(RecurrenceRule)

ExcludeWeekDays(WeekDays)

Excludes the specified week days.

Declaration
public void ExcludeWeekDays(WeekDays days)
Parameters
WeekDays days

GetOccurrenceStart(Int32, DateTimeFormatInfo)

Gets the occurrence start given a occurrence index.

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

The index.

System.Globalization.DateTimeFormatInfo dateTimeFormat

The date time format.

Returns
System.DateTime

Overrides
RecurrenceRule.GetOccurrenceStart(Int32, DateTimeFormatInfo)

IncludeWeekDays(WeekDays)

Includes the specified week days.

Declaration
public void IncludeWeekDays(WeekDays days)
Parameters
WeekDays days

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting 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.