recurring_events v0.3.0 RecurringEvents.Monthly View Source
Handles :monthly
frequency rule
Link to this section Summary
Functions
Returns monthly stream of dates with respect to :interval
, :count
and
:until
rules. Time and day in date provided as :until
is ignored
Link to this section Functions
Returns monthly stream of dates with respect to :interval
, :count
and
:until
rules. Time and day in date provided as :until
is ignored.
Example
iex> RecurringEvents.Monthly.unfold(~N[2017-01-22 10:11:11],
...> %{freq: :monthly, until: ~N[2017-02-03 05:00:00]})
...> |> Enum.take(10)
[~N[2017-01-22 10:11:11], ~N[2017-02-22 10:11:11]]