automata/cron/normalize

Types

pub type CronPlan {
  CronPlan(
    minute: IntSet,
    hour: IntSet,
    day_of_month: IntSet,
    month: IntSet,
    day_of_week: IntSet,
  )
}

Constructors

pub type IntSet {
  AnyValue(min: Int, max: Int)
  Values(List(Int))
}

Constructors

  • AnyValue(min: Int, max: Int)
  • Values(List(Int))

Values

pub fn normalize(spec spec: validator.ValidCron) -> CronPlan
Search Document