all returns all bits within the given bounds. (plus the star bit)
(r bounds)
| 358 | |
| 359 | // all returns all bits within the given bounds. (plus the star bit) |
| 360 | func 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. |
| 365 | func parseDescriptor(descriptor string, loc *time.Location) (Schedule, error) { |