Versions in this module Expand all Collapse all v0 v0.9.0 Jun 13, 2021 Changes in this version + type ConstantDelaySchedule struct + Delay time.Duration + func Every(duration time.Duration) ConstantDelaySchedule + func (schedule ConstantDelaySchedule) Next(t time.Time) time.Time + type ParseOption int + const Descriptor + const Dom + const Dow + const DowOptional + const Hour + const Minute + const Month + const Second + const SecondOptional + type Parser struct + func NewParser(options ParseOption) Parser + func (p Parser) Parse(spec string) (Schedule, error) + type Schedule interface + Next func(time.Time) time.Time + func ParseStandard(standardSpec string) (Schedule, error) + type ScheduleParser interface + Parse func(spec string) (Schedule, error) + type SpecSchedule struct + Dom uint64 + Dow uint64 + Hour uint64 + Location *time.Location + Minute uint64 + Month uint64 + Second uint64 + func (s *SpecSchedule) Next(t time.Time) time.Time