{"action":"created","issue":{"url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/110","repository_url":"https://api.github.com/repos/jmrozanec/cron-utils","labels_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/110/comments","events_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/110/events","html_url":"https://github.com/jmrozanec/cron-utils/issues/110","id":169887191,"number":110,"title":"DateTimeException thrown from ExecutionTime.nextExecution","user":{"login":"francisdb","id":161305,"avatar_url":"https://avatars.githubusercontent.com/u/161305?v=3","gravatar_id":"","url":"https://api.github.com/users/francisdb","html_url":"https://github.com/francisdb","followers_url":"https://api.github.com/users/francisdb/followers","following_url":"https://api.github.com/users/francisdb/following{/other_user}","gists_url":"https://api.github.com/users/francisdb/gists{/gist_id}","starred_url":"https://api.github.com/users/francisdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisdb/subscriptions","organizations_url":"https://api.github.com/users/francisdb/orgs","repos_url":"https://api.github.com/users/francisdb/repos","events_url":"https://api.github.com/users/francisdb/events{/privacy}","received_events_url":"https://api.github.com/users/francisdb/received_events","type":"User","site_admin":false},"labels":[{"id":120385664,"url":"https://api.github.com/repos/jmrozanec/cron-utils/labels/bug","name":"bug","color":"fc2929","default":true},{"id":120385667,"url":"https://api.github.com/repos/jmrozanec/cron-utils/labels/contributions%20welcome","name":"contributions welcome","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-08T10:07:43Z","updated_at":"2016-11-28T17:38:52Z","closed_at":"2016-11-17T13:04:02Z","body":"Cron expression: `0 0 10 ? * SAT-SUN`\n\n```\njava.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): -1\n    at java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)\n    at java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703)\n    at java.time.LocalDate.of(LocalDate.java:268)\n    at com.cronutils.model.time.generator.BetweenDayOfWeekValueGenerator.isMatch(BetweenDayOfWeekValueGenerator.java:128)\n    at com.cronutils.model.time.generator.FieldValueGenerator.generateCandidates(FieldValueGenerator.java:69)\n    at com.cronutils.model.time.ExecutionTime.generateDayCandidatesQuestionMarkSupported(ExecutionTime.java:422)\n    at com.cronutils.model.time.ExecutionTime.generateDays(ExecutionTime.java:324)\n    at com.cronutils.model.time.ExecutionTime.nextClosestMatch(ExecutionTime.java:172)\n    at com.cronutils.model.time.ExecutionTime.nextExecution(ExecutionTime.java:126)\n```\n\nWe should start indicating in the javadocs what kinds of errors a method can throw\n"},"comment":{"url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/comments/263338874","html_url":"https://github.com/jmrozanec/cron-utils/issues/110#issuecomment-263338874","issue_url":"https://api.github.com/repos/jmrozanec/cron-utils/issues/110","id":263338874,"user":{"login":"plainswept","id":317606,"avatar_url":"https://avatars.githubusercontent.com/u/317606?v=3","gravatar_id":"","url":"https://api.github.com/users/plainswept","html_url":"https://github.com/plainswept","followers_url":"https://api.github.com/users/plainswept/followers","following_url":"https://api.github.com/users/plainswept/following{/other_user}","gists_url":"https://api.github.com/users/plainswept/gists{/gist_id}","starred_url":"https://api.github.com/users/plainswept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plainswept/subscriptions","organizations_url":"https://api.github.com/users/plainswept/orgs","repos_url":"https://api.github.com/users/plainswept/repos","events_url":"https://api.github.com/users/plainswept/events{/privacy}","received_events_url":"https://api.github.com/users/plainswept/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T17:38:52Z","updated_at":"2016-11-28T17:38:52Z","body":"@jmrozanec Also looking forward to trying this fix. ETA on the next build?"}}
{"actor":{"display_login":"plainswept"}}