ExCycle.Validations.DaysOfMonth (ex_cycle v0.3.0)

DaysOfMonth defines a list of day (number of the day in the month) to use in the generated datetime.

Examples

iex> %DaysOfMonth{days: [1, 10]}

will generate datetime every 1st and 10th of the month.

Summary

Types

@type t() :: %ExCycle.Validations.DaysOfMonth{days: [non_neg_integer(), ...]}

Functions

Link to this function

new(days_of_month)

@spec new([non_neg_integer(), ...]) :: t()