time-recurrence-0.6: Generate recurring dates.

Data.Time.Recurrence.Schedule

Synopsis

Documentation

type Schedule a = Reader (InitialMoment a) [a]Source

recur :: a -> aSource

starting :: (Ord a, Moment a) => InitialMoment a -> a -> ([a] -> Schedule a) -> [a]Source

starting is an infinite list of Moments, where no Moment occurrs before the InitialMoment. The list is further refined by the passed in function.

begin :: (Ord a, Moment a) => InitialMoment a -> a -> [a]Source

enumMonths :: (CalendarTimeConvertible a, Moment a) => [Month] -> [a] -> Schedule aSource

enumDays :: (CalendarTimeConvertible a, Moment a) => [Int] -> [a] -> Schedule aSource

enumYearDays :: (CalendarTimeConvertible a, Moment a) => [Int] -> [a] -> Schedule aSource

enumHours :: (CalendarTimeConvertible a, Moment a) => [Int] -> [a] -> Schedule aSource

enumMinutes :: (CalendarTimeConvertible a, Moment a) => [Int] -> [a] -> Schedule aSource

enumSeconds :: (CalendarTimeConvertible a, Moment a) => [Int] -> [a] -> Schedule aSource