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
    • Release History
  • Support and Learning

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

    Productivity and Design Tools

    • Visual Studio Extensions
    • 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 RecurrencePattern

Inheritance
System.Object
ViewModelBase
RecurrencePattern
Inherited Members
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.OnPropertyChanged(String)
ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewModelBase.PropertyChangedOverride(String)
ViewModelBase.PropertyChanged
Namespace: Telerik.UI.Xaml.Controls.Scheduler
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class RecurrencePattern : ViewModelBase, INotifyPropertyChanged

Constructors

RecurrencePattern()

Declaration
public RecurrencePattern()

RecurrencePattern(CultureInfo)

Declaration
public RecurrencePattern(CultureInfo culture)
Parameters
System.Globalization.CultureInfo culture

RecurrencePattern(Int32[], RecurrenceDays, RecurrenceFrequency, Int32, Int32[], Nullable<Int32>, Int32[], Int32[])

Declaration
public RecurrencePattern(int[] daysOfMonth, RecurrenceDays daysOfWeekMask, RecurrenceFrequency frequency, int interval, int[] monthsOfYear, Nullable<int> dayOrdinal, int[] hoursOfDay, int[] minutesOfHour)
Parameters
System.Int32[] daysOfMonth

RecurrenceDays daysOfWeekMask

RecurrenceFrequency frequency

System.Int32 interval

System.Int32[] monthsOfYear

System.Nullable<System.Int32> dayOrdinal

System.Int32[] hoursOfDay

System.Int32[] minutesOfHour

RecurrencePattern(Nullable<Int32>, RecurrenceDays, RecurrenceFrequency, Int32, Nullable<Int32>, Nullable<Int32>)

Declaration
public RecurrencePattern(Nullable<int> dayOfMonth, RecurrenceDays daysOfWeekMask, RecurrenceFrequency frequency, int interval, Nullable<int> monthOfYear, Nullable<int> dayOrdinal)
Parameters
System.Nullable<System.Int32> dayOfMonth

RecurrenceDays daysOfWeekMask

RecurrenceFrequency frequency

System.Int32 interval

System.Nullable<System.Int32> monthOfYear

System.Nullable<System.Int32> dayOrdinal

Properties

DayOrdinal

Declaration
public Nullable<int> DayOrdinal { get; set; }
Property Value
System.Nullable<System.Int32>

DaysOfMonth

Declaration
public int[] DaysOfMonth { get; set; }
Property Value
System.Int32[]

DaysOfWeekMask

Declaration
public RecurrenceDays DaysOfWeekMask { get; set; }
Property Value
RecurrenceDays

FirstDayOfWeek

Declaration
public DayOfWeek FirstDayOfWeek { get; set; }
Property Value
System.DayOfWeek

Frequency

Declaration
public RecurrenceFrequency Frequency { get; set; }
Property Value
RecurrenceFrequency

HoursOfDay

Declaration
public int[] HoursOfDay { get; set; }
Property Value
System.Int32[]

Interval

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

MaxOccurrences

Declaration
public Nullable<int> MaxOccurrences { get; set; }
Property Value
System.Nullable<System.Int32>

MinutesOfHour

Declaration
public int[] MinutesOfHour { get; set; }
Property Value
System.Int32[]

MonthOfYear

Declaration
public Nullable<int> MonthOfYear { get; set; }
Property Value
System.Nullable<System.Int32>

RecursUntil

Declaration
public Nullable<DateTime> RecursUntil { get; set; }
Property Value
System.Nullable<System.DateTime>

Methods

Copy()

Declaration
public RecurrencePattern Copy()
Returns
RecurrencePattern

CopyFrom(RecurrencePattern)

Declaration
public void CopyFrom(RecurrencePattern other)
Parameters
RecurrencePattern other

GetFirstOccurrence(DateTime)

Declaration
public Nullable<DateTime> GetFirstOccurrence(DateTime start)
Parameters
System.DateTime start

Returns
System.Nullable<System.DateTime>

GetNextDate(DateTime, Int32)

Declaration
protected DateTime GetNextDate(DateTime start, int index)
Parameters
System.DateTime start

System.Int32 index

Returns
System.DateTime

GetOccurrences(DateTime)

Declaration
public IEnumerable<DateTime> GetOccurrences(DateTime start)
Parameters
System.DateTime start

Returns
System.Collections.Generic.IEnumerable<System.DateTime>

GetOccurrences(DateTime, DateTime, DateTime)

Declaration
public IEnumerable<DateTime> GetOccurrences(DateTime start, DateTime from, DateTime to)
Parameters
System.DateTime start

System.DateTime from

System.DateTime to

Returns
System.Collections.Generic.IEnumerable<System.DateTime>

MatchDayOfWeekMask(DateTime, RecurrenceDays)

Declaration
protected static bool MatchDayOfWeekMask(DateTime start, RecurrenceDays daysOfWeekMask)
Parameters
System.DateTime start

RecurrenceDays daysOfWeekMask

Returns
System.Boolean

MatchDayOrdinal(DateTime, Nullable<Int32>, RecurrenceDays, CultureInfo)

Declaration
protected static bool MatchDayOrdinal(DateTime date, Nullable<int> dayOrdinal, RecurrenceDays daysOfWeekMask, CultureInfo culture = null)
Parameters
System.DateTime date

System.Nullable<System.Int32> dayOrdinal

RecurrenceDays daysOfWeekMask

System.Globalization.CultureInfo culture

Returns
System.Boolean

MatchPattern(DateTime, DateTime)

Declaration
protected bool MatchPattern(DateTime start, DateTime dateTime)
Parameters
System.DateTime start

System.DateTime dateTime

Returns
System.Boolean

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML 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.