Class ScheduleHelper
Represents a helper for handling recurrence appointments.
Inheritance
Namespace: Syncfusion.UI.Xaml.Schedule
Assembly: Syncfusion.SfSchedule.UWP.dll
Syntax
public static class ScheduleHelper : Object
Methods
GetRecurrenceDateTimeCollection(String, DateTime, Nullable<DateTime>, Nullable<DateTime>)
Method to get recurrence appointment's date-time collection.
Declaration
public static IEnumerable<DateTime> GetRecurrenceDateTimeCollection(string RRule, DateTime RecStartDate, Nullable<DateTime> specificStartDate = null, Nullable<DateTime> specificEndDate = 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> | specificStartDate | Optional paramenter, can be passed to get the occurances of recurrance appointment from specified start date of date ranges |
System.Nullable<System.DateTime> | specificEndDate | Optional paramenter, can be passed to get the occurances of recurrance appointment up to the specified end date of date ranges |
Returns
Type |
---|
System.Collections.Generic.IEnumerable<System.DateTime> |
RRuleGenerator(RecurrenceProperties, DateTime, DateTime)
Method to generate RRule for recurrence appointment's.
Declaration
public static string RRuleGenerator(RecurrenceProperties RecProp, DateTime AppStartTime, DateTime AppEndTime)
Parameters
Type | Name | Description |
---|---|---|
RecurrenceProperties | RecProp | RecurrenceProperties for an appointment. |
System.DateTime | AppStartTime | Starttime of recurrence appointment |
System.DateTime | AppEndTime | Endtime of recurrence appointment |
Returns
Type |
---|
System.String |
RRuleParser(String, DateTime)
Method to get the RecurrenceProperties of recurrence appointment's.
Declaration
public static RecurrenceProperties RRuleParser(string RRule, DateTime RecStartDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | RRule | RRule of Recurrence appointment's. |
System.DateTime | RecStartDate | RangeStartDate of ScheduleAppointment's RecurrenceProperites. |
Returns
Type |
---|
RecurrenceProperties |