MCPcopy Index your code
hub / github.com/coder/coder / Next

Method Next

coderd/schedule/cron/cron.go:177–179  ·  view source on GitHub ↗

Next returns the next time in the schedule relative to t.

(t time.Time)

Source from the content-addressed store, hash-verified

175
176// Next returns the next time in the schedule relative to t.
177func (s Schedule) Next(t time.Time) time.Time {
178 return s.sched.Next(t)
179}
180
181// IsWithinRange interprets a cron spec as a continuous time range,
182// and returns whether the provided time value falls within that range.

Callers 2

IsWithinRangeMethod · 0.95
MinMethod · 0.95

Calls 1

NextMethod · 0.65

Tested by

no test coverage detected