(f, step, phase)
| 92171 | } |
| 92172 | |
| 92173 | function skip(f, step, phase) { |
| 92174 | return step <= 1 ? f : phase ? (d, y) => phase + step * Math.floor((f(d, y) - phase) / step) : (d, y) => step * Math.floor(f(d, y) / step); |
| 92175 | } // returns the day of the year based on week number, day of week, |
| 92176 | // and the day of the week for the first day of the year |
| 92177 | |
| 92178 |