(hasWeekdaysSuffix bool)
| 213 | } |
| 214 | |
| 215 | func (p *ScheduleParser) minimumIntervalTokenCount(hasWeekdaysSuffix bool) int { |
| 216 | if hasWeekdaysSuffix { |
| 217 | return 5 |
| 218 | } |
| 219 | return 3 |
| 220 | } |
| 221 | |
| 222 | func (p *ScheduleParser) parseLongIntervalParts() (int, string, error) { |
| 223 | intervalStr := p.tokens[1] |