menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IRecurrenceBuilder - API Reference

    Show / Hide Table of Contents

    Interface IRecurrenceBuilder

    Contains signatures for method to get RRule from the recurrence properties values and date range.

    Namespace: Syncfusion.SfSchedule.XForms
    Assembly: Syncfusion.SfSchedule.XForms.dll
    Syntax
    public interface IRecurrenceBuilder

    Methods

    GetRecurrenceDateTimeCollection(String, DateTime, Nullable<DateTime>, Nullable<DateTime>)

    Method to get recurrence appointment's date-time collection.

    Declaration
    IEnumerable<DateTime> GetRecurrenceDateTimeCollection(string rRule, DateTime recStartDate, Nullable<DateTime> rangeStartDate = null, Nullable<DateTime> rangeEndDate = null)
    Parameters
    Type Name Description
    System.String rRule

    RRule of Recurrence appointment's.

    System.DateTime recStartDate

    RangeStartDate of ScheduleAppointment's RecurrenceProperites.

    System.Nullable<System.DateTime> rangeStartDate

    Optional parameter, can be passed to get the occurrences of recurrence appointment from specified start date of date ranges.

    System.Nullable<System.DateTime> rangeEndDate

    Optional parameter, can be passed to get the occurrences of recurrence appointment up to the specified end date of date ranges.

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

    recurrence dates collection.

    RRuleGenerator(RecurrenceProperties, DateTime, DateTime)

    Gets RRule from the recurrence properties values and date range.

    Declaration
    string RRuleGenerator(RecurrenceProperties recurrenceProperties, DateTime startTime, DateTime endTime)
    Parameters
    Type Name Description
    RecurrenceProperties recurrenceProperties

    Recurrence properties.

    System.DateTime startTime

    Start time value.

    System.DateTime endTime

    End time value.

    Returns
    Type Description
    System.String

    Recurrence rule.

    RRuleParser(String, DateTime)

    Method to get the recurrence properties by using RRule value.

    Declaration
    RecurrenceProperties RRuleParser(string rRule, DateTime recStartDate)
    Parameters
    Type Name Description
    System.String rRule

    Recurrence rule.

    System.DateTime recStartDate

    Recurrence start date.

    Returns
    Type Description
    RecurrenceProperties

    Recurrence properties.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved