MCPcopy
hub / github.com/robfig/cron / all

Function all

parser.go:360–362  ·  parser.go::all

all returns all bits within the given bounds. (plus the star bit)

(r bounds)

Source from the content-addressed store, hash-verified

358
359// all returns all bits within the given bounds. (plus the star bit)
360func all(r bounds) uint64 {
361 return getBits(r.min, r.max, 1) | starBit
362}
363
364// parseDescriptor returns a predefined schedule for the expression, or error if none matches.
365func parseDescriptor(descriptor string, loc *time.Location) (Schedule, error) {

Callers 8

TestAllFunction · 0.85
TestParseScheduleFunction · 0.85
TestStandardSpecScheduleFunction · 0.85
every5minFunction · 0.85
every5min5sFunction · 0.85
midnightFunction · 0.85
annualFunction · 0.85
parseDescriptorFunction · 0.85

Calls 1

getBitsFunction · 0.85

Tested by 7

TestAllFunction · 0.68
TestParseScheduleFunction · 0.68
TestStandardSpecScheduleFunction · 0.68
every5minFunction · 0.68
every5min5sFunction · 0.68
midnightFunction · 0.68
annualFunction · 0.68