Documentation ¶ Index ¶ func NextOccurrence(r Rule, base, after time.Time, loc *time.Location) time.Time func Occurrences(r Rule, base, from, to time.Time, loc *time.Location) []time.Time type Rule Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NextOccurrence ¶ func NextOccurrence(r Rule, base, after time.Time, loc *time.Location) time.Time func Occurrences ¶ func Occurrences(r Rule, base, from, to time.Time, loc *time.Location) []time.Time Types ¶ type Rule ¶ type Rule struct { Freq models.RecurrenceFreq Interval int ByDay []time.Weekday ByMonthDay int EndAt time.Time } Source Files ¶ View all Source files recurrence.go Click to show internal directories. Click to hide internal directories.