Skip to main content

getRecurrenceRuleText static method

[String] getRecurrenceRuleText(

  1. [[String] frequency, ]
  2. [[Set[<[String]>]?] weekDays, ]
  3. [[int?] interval, ]
  4. [[int?] count, ]
  5. [[int?] weekDayOccurenceInMonth, ]
  6. [[DateTime] startDate, ]
  7. [[DateTime?] endDate, ]

)

'getRecurrenceRuleText' return text for various recurrence rules.

params:

  • frequency: Frequency of the event.
  • weekDays: List of week days.
  • interval: Interval of the event.
  • count: Count of the event.
  • weekDayOccurenceInMonth: Week day occurence in month.
  • startDate: Start date of the event.
  • endDate: End date of the event.

returns:

  • String: Recurrence rule text.

Implementation

static String getRecurrenceRuleText(
String frequency,
Set<String>? weekDays,
int? interval,
int? count,
int? weekDayOccurenceInMonth,
DateTime startDate,
DateTime? endDate,
)
  1. talawa
  2. recurrence_values
  3. RecurrenceUtils
  4. getRecurrenceRuleText static method
RecurrenceUtils class