time-recurrence-0.9.2: Generate recurring dates.

Safe HaskellNone

Data.Time.Recurrence.Schedule

Contents

Synopsis

Schedule

Freq

Function interface to Recur

Adjust Interval

by :: Freq -> Integer -> FreqSource

Typically called infix on an existing Freq, like:

 monthly `by` 2

Adjust Start of Week

withStartOfWeek :: Freq -> WeekDay -> FreqSource

Typically called infix on an existing Freq, like:

 weekly `withStartOfWeek` Tuesday

Default Freq

evaluate a Schedule into a function

eval :: (CalendarTimeConvertible a, Ord a, Moment a) => Schedule b -> a -> [a]Source

run an evaluated Schedule from a moment