View Source ExCycle.Validations.Lock (ex_cycle v0.4.0)
The Lock
validation is used to lock a specific item like :day
.
So the generated datetime MUST have the valid datetime that match this restriction.
Summary
Types
@type t() :: %ExCycle.Validations.Lock{unit: unit()}
@type unit() :: :second | :minute | :hour | :day | :week_day | :month