Versions in this module Expand all Collapse all v1 v1.9.0 Oct 29, 2026 Changes in this version + const DateFormat + const DateTimeFormat + const LocalDateTimeFormat + const MAXYEAR + var FR = Weekday + var M365MASK []int + var M365RANGE = []int + var M366MASK []int + var M366RANGE = []int + var MDAY365MASK []int + var MDAY366MASK []int + var MO = Weekday + var NMDAY365MASK []int + var NMDAY366MASK []int + var SA = Weekday + var SU = Weekday + var TH = Weekday + var TU = Weekday + var WDAYMASK []int + var WE = Weekday + func StrToDates(str string) (ts []time.Time, err error) + func StrToDatesInLoc(str string, defaultLoc *time.Location) (ts []time.Time, err error) + func StrToDtStart(str string, defaultLoc *time.Location) (time.Time, error) + type Frequency int + const DAILY + const HOURLY + const MINUTELY + const MONTHLY + const SECONDLY + const WEEKLY + const YEARLY + func StrToFreq(str string) (Frequency, error) + func (f Frequency) String() string + type Next func() (value time.Time, ok bool) + type ROption struct + Byeaster []int + Byhour []int + Byminute []int + Bymonth []int + Bymonthday []int + Bysecond []int + Bysetpos []int + Byweekday []Weekday + Byweekno []int + Byyearday []int + Count int + Dtstart time.Time + Freq Frequency + Interval int + Until time.Time + Wkst Weekday + func StrToROption(rfcString string) (*ROption, error) + func StrToROptionInLocation(rfcString string, loc *time.Location) (*ROption, error) + func (option *ROption) RRuleString() string + func (option *ROption) String() string + type RRule struct + Options ROption + OrigOptions ROption + func NewRRule(arg ROption) (*RRule, error) + func StrToRRule(rfcString string) (*RRule, error) + func (r *RRule) After(dt time.Time, inc bool) time.Time + func (r *RRule) All() []time.Time + func (r *RRule) Before(dt time.Time, inc bool) time.Time + func (r *RRule) Between(after, before time.Time, inc bool) []time.Time + func (r *RRule) DTStart(dt time.Time) + func (r *RRule) GetDTStart() time.Time + func (r *RRule) GetUntil() time.Time + func (r *RRule) Iterator() Next + func (r *RRule) String() string + func (r *RRule) Until(ut time.Time) + type Set struct + func StrSliceToRRuleSet(ss []string) (*Set, error) + func StrSliceToRRuleSetInLoc(ss []string, defaultLoc *time.Location) (*Set, error) + func StrToRRuleSet(s string) (*Set, error) + func (set *Set) After(dt time.Time, inc bool) time.Time + func (set *Set) All() []time.Time + func (set *Set) Before(dt time.Time, inc bool) time.Time + func (set *Set) Between(after, before time.Time, inc bool) []time.Time + func (set *Set) DTStart(dtstart time.Time) + func (set *Set) ExDate(exdate time.Time) + func (set *Set) GetDTStart() time.Time + func (set *Set) GetExDate() []time.Time + func (set *Set) GetRDate() []time.Time + func (set *Set) GetRRule() *RRule + func (set *Set) Iterator() (next func() (time.Time, bool)) + func (set *Set) RDate(rdate time.Time) + func (set *Set) RRule(rrule *RRule) + func (set *Set) Recurrence() []string + func (set *Set) SetExDates(exdates []time.Time) + func (set *Set) SetRDates(rdates []time.Time) + func (set *Set) String() string + type Weekday struct + func (wday *Weekday) Day() int + func (wday *Weekday) N() int + func (wday *Weekday) Nth(n int) Weekday + func (wday Weekday) String() string