skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MonthlyRecurrenceRule

Represents a monthly recurrence rule.

Inheritance
System.Object
RecurrenceRule
WeeklyRecurrenceRule
MonthlyRecurrenceRule
YearlyRecurrenceRule
Inherited Members
WeeklyRecurrenceRule.DefaultOffset
WeeklyRecurrenceRule.MatchOffset
WeeklyRecurrenceRule.GetFirstDayOfWeek(DateTimeFormatInfo)
WeeklyRecurrenceRule.MatchOffsetPositive(DateTime, DateTimeFormatInfo)
WeeklyRecurrenceRule.MatchOffsetNegative(DateTime, DateTimeFormatInfo)
WeeklyRecurrenceRule.MatchDayOfWeekMask(DateTime, Calendar)
WeeklyRecurrenceRule.IncludeWeekDays(WeekDays)
WeeklyRecurrenceRule.ExcludeWeekDays(WeekDays)
WeeklyRecurrenceRule.AreWeekDaysIncluded(WeekDays)
WeeklyRecurrenceRule.IntersectsWithException(DateTime, TimeSpan, IEvent)
WeeklyRecurrenceRule.WeekDays
WeeklyRecurrenceRule.Offset
WeeklyRecurrenceRule.FirstDayOfWeek
RecurrenceRule.DefaultEndDate
RecurrenceRule.DefaultCount
RecurrenceRule.CreateRule(RecurrenceType)
RecurrenceRule.SuspendNotifications()
RecurrenceRule.ResumeNotifications()
RecurrenceRule.OnPropertyChanged(String)
RecurrenceRule.IsExceptionDate(DateTime)
RecurrenceRule.IsValid()
RecurrenceRule.Equals(Object)
RecurrenceRule.GetHashCode()
RecurrenceRule.ToString()
RecurrenceRule.Clone()
RecurrenceRule.ICloneable.Clone()
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 MonthlyRecurrenceRule : WeeklyRecurrenceRule, INotifyPropertyChanged, ICloneable, IEquatable<RecurrenceRule>

Constructors

MonthlyRecurrenceRule()

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule()

MonthlyRecurrenceRule(DateTime, DateTime, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

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

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

System.Int32 dayNumber

The day number.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, DateTime, Int32, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int dayNumber, 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 dayNumber

The day number.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

MonthlyRecurrenceRule(DateTime, DateTime, Int32, WeekDays, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

System.Int32 weekNumber

The week number.

WeekDays weekdays

The week days.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, DateTime, Int32, WeekDays, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, int weekNumber, WeekDays weekdays, 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 weekNumber

The week number.

WeekDays weekdays

The week days.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

MonthlyRecurrenceRule(DateTime, DateTime, WeekDays, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

WeekDays weekdays

The week days.

System.Int32 offset

The offset.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, DateTime, WeekDays, Int32, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, DateTime end, WeekDays weekdays, int offset, int interval, int count)
Parameters
System.DateTime start

The start of the recurrence rule.

System.DateTime end

The end of the recurrence rule.

WeekDays weekdays

The week days.

System.Int32 offset

The offset.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

MonthlyRecurrenceRule(DateTime, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

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

The start of the recurrence rule.

System.Int32 dayNumber

The day number of the recurrence rule.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, Int32, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

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

The start of the recurrence rule.

System.Int32 dayNumber

The day number.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

MonthlyRecurrenceRule(DateTime, Int32, WeekDays, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, int weekNumber, WeekDays weekdays, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

System.Int32 weekNumber

The week number.

WeekDays weekdays

The week days.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, Int32, WeekDays, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, int weekNumber, WeekDays weekdays, int interval, int count)
Parameters
System.DateTime start

The start of the recurrence rule.

System.Int32 weekNumber

The week number.

WeekDays weekdays

The week days.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

MonthlyRecurrenceRule(DateTime, WeekDays, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, WeekDays weekdays, int offset, int interval)
Parameters
System.DateTime start

The start of the recurrence rule.

WeekDays weekdays

The week days.

System.Int32 offset

The offset.

System.Int32 interval

The interval of the recurrence rule.

MonthlyRecurrenceRule(DateTime, WeekDays, Int32, Int32, Int32)

Initializes a new instance of the MonthlyRecurrenceRule class.

Declaration
public MonthlyRecurrenceRule(DateTime start, WeekDays weekdays, int offset, int interval, int count)
Parameters
System.DateTime start

The start of the recurrence rule.

WeekDays weekdays

The week days.

System.Int32 offset

The offset.

System.Int32 interval

The interval of the recurrence rule.

System.Int32 count

The count.

Fields

DefaultDayNumber

Declaration
public static readonly int DefaultDayNumber
Field Value
System.Int32

DefaultWeekNumber

Declaration
public static readonly int DefaultWeekNumber
Field Value
System.Int32

Properties

DayNumber

Gets or sets the day number.

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

The day number.

Frequency

Gets the type of the recurrence rule.

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

The type of the recurrence rule.

Overrides
WeeklyRecurrenceRule.Frequency

WeekNumber

Gets or sets the week number.

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

The week number.

Methods

CopyProperties(RecurrenceRule)

Declaration
protected override void CopyProperties(RecurrenceRule other)
Parameters
RecurrenceRule other

Overrides
WeeklyRecurrenceRule.CopyProperties(RecurrenceRule)

CreateInstance()

Declaration
protected override RecurrenceRule CreateInstance()
Returns
RecurrenceRule

Overrides
WeeklyRecurrenceRule.CreateInstance()

Equals(RecurrenceRule)

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

Returns
System.Boolean

Overrides
WeeklyRecurrenceRule.Equals(RecurrenceRule)

GetNegativeOffsetStart(DateTime, DateTimeFormatInfo)

Declaration
protected override DateTime GetNegativeOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.DateTime

Overrides
WeeklyRecurrenceRule.GetNegativeOffsetStart(DateTime, DateTimeFormatInfo)

GetOccurrenceStart(Int32, DateTime, DateTimeFormatInfo)

Gets the occurrence start given an occurrence index.

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

The index.

System.DateTime startDate

The start date of the series.

System.Globalization.DateTimeFormatInfo dateTimeFormat

The date time format.

Returns
System.DateTime

Overrides
WeeklyRecurrenceRule.GetOccurrenceStart(Int32, DateTime, DateTimeFormatInfo)

GetPositiveOffsetStart(DateTime, DateTimeFormatInfo)

Declaration
protected override DateTime GetPositiveOffsetStart(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.DateTime

Overrides
WeeklyRecurrenceRule.GetPositiveOffsetStart(DateTime, DateTimeFormatInfo)

IsOffsetMatch(DateTime, DateTimeFormatInfo)

Declaration
protected override bool IsOffsetMatch(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.Boolean

Overrides
WeeklyRecurrenceRule.IsOffsetMatch(DateTime, DateTimeFormatInfo)

MatchAdvancedPattern(DateTime, DateTimeFormatInfo)

Declaration
public override bool MatchAdvancedPattern(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.Boolean

Overrides
WeeklyRecurrenceRule.MatchAdvancedPattern(DateTime, DateTimeFormatInfo)

MatchDayOfMonth(DateTime, DateTimeFormatInfo)

Declaration
protected bool MatchDayOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.Boolean

MatchWeekOfMonth(DateTime, DateTime, DateTimeFormatInfo)

Declaration
protected bool MatchWeekOfMonth(DateTime date, DateTime startDate, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.DateTime startDate

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.Boolean

MatchWeekOfMonth(DateTime, DateTimeFormatInfo)

Declaration
protected bool MatchWeekOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime date

System.Globalization.DateTimeFormatInfo dateTimeFormat

Returns
System.Boolean

TryGetCloseToNextOccurrenceDate(DateTime, Boolean, out DateTime)

Declaration
public override bool TryGetCloseToNextOccurrenceDate(DateTime currentDate, bool hasOccurrenceOnCurrentDate, out DateTime closeToNextDate)
Parameters
System.DateTime currentDate

System.Boolean hasOccurrenceOnCurrentDate

System.DateTime closeToNextDate

Returns
System.Boolean

Overrides
RecurrenceRule.TryGetCloseToNextOccurrenceDate(DateTime, Boolean, out DateTime)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
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.