title: cron library for java
body: <p>I am looking for a cron expression library in java. Something that can parse cron expressions and return me future fire times for the trigger.</p>
  
  <p>API on the lines of.</p>
  
  <pre><code>    CronExpression cronExpression = new CronExpression("0 30 4 * * *");
      List&lt;Date&gt; fireTimes = cronExpression.getFireTimes(todaysDate, nextWeekDate);
  </code></pre>
  
  <p>I don't want to use something as complicated as quartz. The purpose is to basically use cron like a regex for timings. That's all. I do not want a background scheduler.</p>
  
  <p>I tried googling but wasn't able to find anything very helpful. Any suggestions would be appreciated.</p>
  
  <p>Regards,
  Pulkit</p>
  
  <p>P.S - I looked at using the CronExpression class out of quartz. Wasn't very helpful - failing some tests.</p>