YearlyByWeekday class
Yearly recurrence on specific weekdays within months (BYMONTH + BYDAY).
- Inheritance
-
- Object
- RecurrenceRule
- YearlyRecurrence
- YearlyByWeekday
Constructors
-
YearlyByWeekday({List<
int> ? months, required List<RecurrenceDay> daysOfWeek, List<int> ? setPositions, int interval = 1, RecurrenceEnd? end, String? rawRrule})
Properties
-
daysOfWeek
→ List<
RecurrenceDay> -
Day-of-week rules, optionally with position (e.g., last Monday of May).
final
- end → RecurrenceEnd?
-
Optional end condition (count or until date). Null means recurs forever.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- interval → int
-
Interval between recurrences. Defaults to 1.
finalinherited
-
months
→ List<
int> ? -
Months of the year (1-12). If null, uses the event's start date month.
final
- rruleString → String
-
The raw RRULE string.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setPositions
→ List<
int> ? -
Filters the result set to specific positions (BYSETPOS).
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRruleString(
) → String -
Serializes this rule to an RRULE string (without the "RRULE:" prefix).
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override