schedules 1.3.0 copy "schedules: ^1.3.0" to clipboard
schedules: ^1.3.0 copied to clipboard

A powerful and flexible Dart package for managing recurring events.

1.3.0 #

  • Add support for timed events
    • Add a new TimeOfDay class
    • Add a new occursAt(TimeOfDay) method on all schedules
    • All schedules have a new .timed constructor that takes one or more TimeOfDay objects
    • List generation methods take times of day into account, when appropriate

1.2.0 #

  • Add a new MonthlyWeekday schedule to represent events that occur on the _n_th weekday every x months.

1.1.0 #

  • Add new versions of list-generating methods using math-based Iterable generators for improved performance
  • Mark previous brute-force list-generating methods deprecated

1.0.0 #

  • Begin stable build versioning
  • Add two new methods for generating lists of dates that occur on a given schedule (thank you @v.paragallo.ict)

0.0.5 #

  • Fix bugs in the date comparisons by properly ignoring the time component
  • Add a daysApartFrom extension to clean up the difference calculation

0.0.4 #

  • Revise description for simplicity

0.0.3 #

  • Add a release workflow file
  • Add test and analyze workflow for CI
  • Add an example
  • Improve description

0.0.2 #

  • Fix typos and grammar in README

0.0.1 Initial Version (2023-10-08) #

  • Schedule sealed base class with subclasses for different schedule types:
    • Singular: A single occurrence
    • Daily: Repeats every n days
    • Weekly: Repeats every n weeks on the given weekdays (Su - Sa)
    • Monthly: Repeats every n months on the given day(s) of the month
    • Yearly: Repeats every n years on the specified date
  • Optional endDate parameter to constrain the schedule
10
likes
160
points
25
downloads

Publisher

verified publisherandyhorn.dev

Weekly Downloads

A powerful and flexible Dart package for managing recurring events.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on schedules