Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Data.Time.Recurrence.Schedule
Contents
- data Schedule a where
- Recur :: Freq -> Schedule Freq
- And :: Schedule Freq -> ScheduleDetails b -> Schedule (ScheduleDetails b)
- data Freq
- recur :: Freq -> Schedule Freq
- by :: Freq -> Integer -> Freq
- withStartOfWeek :: Freq -> WeekDay -> Freq
- secondly :: Freq
- minutely :: Freq
- hourly :: Freq
- daily :: Freq
- weekly :: Freq
- monthly :: Freq
- yearly :: Freq
- eval :: (CalendarTimeConvertible a, Ord a, Moment a) => Schedule b -> a -> [a]
- starting :: (CalendarTimeConvertible a, Ord a, Moment a) => a -> Schedule b -> [a]
Schedule
Constructors
Recur :: Freq -> Schedule Freq | |
And :: Schedule Freq -> ScheduleDetails b -> Schedule (ScheduleDetails b) |
Instances
Show (Schedule a) Source | |
AndThen (Schedule Freq) (ScheduleDetails b) (Schedule (ScheduleDetails b)) Source |
Freq
Instances
Show Freq Source | |
AndThen (Schedule Freq) (ScheduleDetails b) (Schedule (ScheduleDetails b)) Source |
Function interface to Recur
Adjust Interval
Adjust Start of Week
withStartOfWeek :: Freq -> WeekDay -> Freq Source
Typically called infix on an existing Freq
, like:
weekly `withStartOfWeek` Tuesday