RecurrenceRule class sealed

Recurrence rule for calendar events (RFC 5545 RRULE subset).

This models the cross-platform subset of RRULE that both iOS (EKRecurrenceRule) and Android (CalendarContract) support reliably.

For full RRULE access (e.g. BYHOUR on Android), use rruleString.

Implementers

Properties

end RecurrenceEnd?
Optional end condition (count or until date). Null means recurs forever.
final
hashCode int
The hash code for this object.
no setteroverride
interval int
Interval between recurrences. Defaults to 1.
final
rruleString String
The raw RRULE string.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromRruleString(String rrule) RecurrenceRule?
Parses an RRULE string into a typed RecurrenceRule.