RecurrenceRule class

Available extensions

Constructors

RecurrenceRule.new({required Frequency frequency, required DateTime startDate, bool isLocal = true, DateTime? endDate, int interval = 1, int? count, Set<int>? bySeconds, Set<int>? byMinutes, Set<int>? byHours, Set<int>? byMonths, Set<WeekDay>? byWeekDays, Set<int>? byMonthDays, Set<int>? byYearDays, Set<int>? byWeeks, Set<int>? bySetPositions, int? weekStart, Set<DateTime>? excludedDates})

Properties

allInstances List<DateTime>

Available on RecurrenceRule, provided by the InstancesQuery extension

no setter
byHours Set<int>?
final
byMinutes Set<int>?
final
byMonthDays Set<int>?
final
byMonths Set<int>?
final
bySeconds Set<int>?
final
bySetPositions Set<int>?
final
byWeekDays Set<WeekDay>?
final
byWeeks Set<int>?
final
byYearDays Set<int>?
final
count int?
final
endDate DateTime?
final
excludedDates Set<DateTime>?
final
frequency Frequency
final
hashCode int
The hash code for this object.
no setterinherited
interval int
final
isLocal bool
ignore timezoneOffset value of startDate
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rfc5545String String

Available on RecurrenceRule, provided by the RecurrenceRuleToRFC5545String extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
weekStart int?
final

Methods

between(DateTime begin, DateTime end) List<DateTime>

Available on RecurrenceRule, provided by the InstancesQuery extension

copyWith({Frequency? frequency, DateTime? startDate, bool? isLocal, DateTime? endDate, int? interval, int? count, Set<int>? bySeconds, Set<int>? byMinutes, Set<int>? byHours, Set<int>? byMonths, Set<WeekDay>? byWeekDays, Set<int>? byMonthDays, Set<int>? byYearDays, Set<int>? byWeeks, Set<int>? bySetPositions, int? weekStart, Set<DateTime>? excludedDates}) RecurrenceRule
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.

Operators

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

Static Methods

from(String rfc5545String) RecurrenceRule?