grahamar/cron-parser

number format exception0 0,5,10,15,20,25,30,35,40,45,50,55 * ? * *

fiallega opened this issue · 3 comments

First thanks a lot for the library.

I tried the following expression
0 0,5,10,15,20,25,30,35,40,45,50,55 * ? * *

It seems to translate fine in the original library to
http://www.geekytidbits.com/cron-expression-descriptor-demo/Default.aspx
At 00, 05, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 minutes past the hour

but i get a format exception:
java.lang.NumberFormatException: For input string: "0,5,10,15,20,25,30,35,40,45,50,55"

I should look at the code to give you a better report. I will. In the mean time, just a heads up, or maybe I am doing something wrong.

Fixed by 9e2da46

Will be released in version 1.2

Version 1.2 is available in the sonatype repository now and will be synced to maven central in the next 2 hours

Pulled from maven central. Works like a charm. Thanks a lot
(by the way, you hit it right on, but putting this thing on maven central right away ... the only way to go)