Skip to main content

RecurrenceUtils class

conatins all neccessary utils.

Constructors

RecurrenceUtils

:

Properties

[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::

[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::

Methods

[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::

[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::

Operators

[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::

Static Methods

[getRecurrenceRuleText][([[String] frequency, ][[Set[<[String]>]?] weekDays, ][[int?] interval, ][[int?] count, ][[int?] weekDayOccurenceInMonth, ][[DateTime] startDate, ][[DateTime?] endDate]) [→ String] ] : 'getRecurrenceRuleText' return text for various recurrence rules.

[getWeekDayOccurenceInMonth][([[DateTime] date]) [→ int] ] : 'getWeekDayOccurenceInMonth' returns the week day occurence in month.

[getWeekDaysString][([[List[<[String]>]] weekDays]) [→ String] ] : 'getWeekDaysString' returns string for weekDays.

[isLastOccurenceOfWeekDay][([[DateTime] date]) [→ bool] ] : Function to check whether cuurent event instance is Last occurence of Week Day.

Constants

[monthNames] [→ const List[<[String]>]] : represents all the months.

[weekDayOccurences] [→ const List[<[String]>]] : represents all the week day occurences.

[weekDays] [→ const List[<[String]>]] : represents all the week days.

  1. talawa
  2. recurrence_values
  3. RecurrenceUtils class
recurrence_values library