ExCycle.Validations.MinuteOfHour (ex_cycle v0.3.0)
MinuteOfHour defines a list of specific minutes to use in the generated datetime.
Examples
iex> %MinuteOfHour{minutes: [0, 15, 30, 45]}
will generate datetime hour at XX:00, XX:15, XX:30 and XX:45.
Summary
Types
@type t() :: %ExCycle.Validations.MinuteOfHour{minutes: [non_neg_integer()]}
Functions
Link to this function
new(minutes)
@spec new([non_neg_integer()]) :: t()