recurrence_utils library

Non-Flutter utilities from the recurrence_picker package.

Use this import in files that don't depend on Flutter (e.g. entity/model files) to avoid pulling in widget code.

Enums

EndOfMonthBehavior
How the recurrence should behave when the target day doesn't exist in a given month (e.g. day 31 in a 30-day month).

Extensions

RecurrenceRuleClamping on RecurrenceRule
Extension on RecurrenceRule providing end-of-month clamping utilities.

Constants

kAnyMonth → const int
Number of days in each month across all years. Month 0 represents "any month".
maxDaysInMonth → const List<int>
minDaysInMonth → const List<int>

Functions

maxDaysInMonths([Iterable<int> months = const [0]]) int
minDaysInMonths([Iterable<int> months = const [0]]) int