getRecurrenceRule method
Maps the custom appointments recurrence rule to the Appointment
.
Allows to set the custom appointments corresponding property to the
Appointment
's recurrence rule property.
Note: It is applicable only when the custom appointments set to the
appointments
.
See also:
Appointment.recurrenceRule
, which used to recur the appointment based on the given rule.RecurrenceProperties
, which used to create the recurrence rule based on the values set to these properties.SfCalendar.generateRRule
, which used to generate recurrence rule based on theRecurrenceProperties
values.SfCalendar.getRecurrenceDateTimeCollection
, to get the recurrence date time collection based on the given recurrence rule and start date.- Knowledge base: How to use a negative value for bysetpos in rrule
- Knowledge base: How to get the recurrence date collection
- Knowledge base: How to add recurring appointments until specified date
@override
DateTime getRecurrenceRule(int index) {
return appointments![index].recurrenceRule;
}
Implementation
String? getRecurrenceRule(int index) => null;