@@ -190,24 +190,24 @@ def test_year_regex(self):
190190
191191 def test_validator (self ):
192192 valid_expressions = [
193- "0 18 ? * MON-FRI *" , # Fire at 6pm, on Mondays to Fridays
194- "0 18 ? * L *" , # Fire at 6pm, on Saturdays
195- "0 18 ? * SATL *" , # Fire at 6pm, on the last Saturday of every month
196- "0 18 L * ? *" , # Fire at 6pm, on the last day of every month
197- "0 18 31W * ? *" , # Fire at 6pm, on the nearest weekday to the 31st of the month
198- "0 10 * * ? *" , # Fire at 10am, on every day
199- "15 12 * * ? *" , # Fire at 12:15pm, on every day
200- "0 8 1 * ? *" , # Fire at 8am on the first day of every month
201- "1/5 8-17 ? * Mon-Fri *" , # Fire every 5 minutes, starting on the 1st minute
202- # (i.e. 1st, 6th, 11th, 16th, 21st, 26th, 31st, 36th, 41st, 46th, 51st & 56th minutes), from 8am to 5pm, Mondays to Fridays
203- "0 9 ? * 2#1 *" , # Fire at 9am, on the 1st Monday of the every month
204- "0 07/12 ? * * *" , # Fire every 12 hours, starting on the 7th hour (i.e. 7am and 7pm), every day.
205- "10,20,30,40 07/12 ? * * *" , # Fire on the 10th, 20th, 30th & 40th minutes, every 12 hours, starting on the 7th hour (i.e. 7am and 7pm), every day.
206- "10 10,15,20,23 ? * * *" , # Fire at 10:10am, 3:10pm, 8:10pm & 11:10pm, every day
207- "10 10 15,30,31 * ? *" , # Fire at 10:10am on the 15th, 30th & 31st day of every month
208- "10 10 15 JAN,JUL,DEC ? *" , # Fire at 10:10am on the 15th day of January, July and December
209- "10 10 31 04,09,12 ? *" , # Fire at 10:10am on the 31st day of April, September and December
210- "0,5 07/12 ? * 1,5,7 *" ,
193+ "0 18 ? * MON-FRI *" , # Fire at 6pm, on Mondays to Fridays
194+ "0 18 ? * L *" , # Fire at 6pm, on Saturdays
195+ "0 18 ? * SATL *" , # Fire at 6pm, on the last Saturday of every month
196+ "0 18 L * ? *" , # Fire at 6pm, on the last day of every month
197+ "0 18 31W * ? *" , # Fire at 6pm, on the nearest weekday to the 31st of the month
198+ "0 10 * * ? *" , # Fire at 10am, on every day
199+ "15 12 * * ? *" , # Fire at 12:15pm, on every day
200+ "0 8 1 * ? *" , # Fire at 8am on the first day of every month
201+ "1/5 8-17 ? * Mon-Fri *" , # Fire every 5 minutes, starting on the 1st minute
202+ # (i.e. 1st, 6th, 11th, 16th, 21st, 26th, 31st, 36th, 41st, 46th, 51st & 56th minutes), from 8am to 5pm, Mondays to Fridays
203+ "0 9 ? * 2#1 *" , # Fire at 9am, on the 1st Monday of the every month
204+ "0 07/12 ? * * *" , # Fire every 12 hours, starting on the 7th hour (i.e. 7am and 7pm), every day.
205+ "10,20,30,40 07/12 ? * * *" , # Fire on the 10th, 20th, 30th & 40th minutes, every 12 hours, starting on the 7th hour (i.e. 7am and 7pm), every day.
206+ "10 10,15,20,23 ? * * *" , # Fire at 10:10am, 3:10pm, 8:10pm & 11:10pm, every day
207+ "10 10 15,30,31 * ? *" , # Fire at 10:10am on the 15th, 30th & 31st day of every month
208+ "10 10 15 JAN,JUL,DEC ? *" , # Fire at 10:10am on the 15th day of January, July and December
209+ "10 10 31 04,09,12 ? *" , # Fire at 10:10am on the 31st day of April, September and December
210+ "0,5 07/12 ? * 1,5,7 *" ,
211211 "0,5 07/12 ? * 1,5,7 2020,2021,2028,2199" ,
212212 "0,5 07/12 ? * 1,5,7 2020-2021,2028-2199" ,
213213 "0,5 07/12 ? * 1,5,7 2000-2199" ,
0 commit comments