- data WeekDay
- data Month
- toUTCTime :: Recurrence -> UTCTime
- secondly :: Recurrence
- minutely :: Recurrence
- hourly :: Recurrence
- daily :: Recurrence
- weekly :: Recurrence
- monthly :: Recurrence
- yearly :: Recurrence
- recur :: Recurrence -> [Recurrence]
- withRules :: [Recurrence -> [Recurrence]] -> [Recurrence] -> [Recurrence]
- byMonth :: [Month] -> Recurrence -> [Recurrence]
- byWeekNumber :: [Int] -> Recurrence -> [Recurrence]
- byYearDay :: [Int] -> Recurrence -> [Recurrence]
The WeekDay
type
Symbolic week days.
Note: The first Day of the Week is Monday TODO: Move this to a more general library
The Month
type
Symbolic months.
TODO: Move this to a more general library
The Recurrence
type
Frequency Constrcutors for the Recuurence
type
Generates list of Recurrence
type
Recurrence
type rule effects
withRules :: [Recurrence -> [Recurrence]] -> [Recurrence] -> [Recurrence]Source
Takes a list of rule parts and apply them over a list of Recurrence to generate a new list of Recurrence
byWeekNumber :: [Int] -> Recurrence -> [Recurrence]Source