Versions in this module Expand all Collapse all v0 v0.4.0 Apr 3, 2024 v0.3.0 Aug 12, 2021 Changes in this version + type ConstantDelayCron struct + Delay time.Duration + func Every(duration time.Duration) ConstantDelayCron + func (cron ConstantDelayCron) Next(t time.Time) time.Time + type ConstantLastCron struct + Delay time.Duration + func LastDay(duration time.Duration) ConstantLastCron + func (cron ConstantLastCron) Next(t time.Time) time.Time + type Crontab interface + Next func(time.Time) time.Time + func Parse(spec string) (Crontab, error) + func ParseStandard(standardSpec string) (Crontab, error) + type ParseOption int + const Descriptor + const Dom + const Dow + const DowOptional + const Hour + const Minute + const Month + const Second + type Parser struct + func NewParser(options ParseOption) Parser + func (p Parser) Parse(spec string) (Crontab, error) + type SpecCron struct + Dom uint64 + Dow uint64 + Hour uint64 + Minute uint64 + Month uint64 + Second uint64 + func (s *SpecCron) Next(t time.Time) time.Time