Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + func Never() time.Time + type Item struct + func NewItem(spec string) (*Item, error) + func (item *Item) NextTime(start time.Time, current time.Time) time.Time + func (item *Item) Pass(start, current time.Time) bool + func (item *Item) PassedBefore(start, current time.Time) bool + type Policy struct + func Parse(spec string) (*Policy, error) + func (policy *Policy) NextTime(start time.Time, current time.Time) time.Time + func (policy *Policy) Pass(start, current time.Time) bool + func (policy *Policy) PassedBefore(start, current time.Time) bool + func (policy *Policy) Stop()