  @Test
  public void testGetCycleFireDate() throws ParseException {

    //准备数据
    String hourCrontab = "0 0 2-22/2 * * ? *";
    CronExpression cronExpression = CrontabUtil.parseCronExp(hourCrontab);
    Date startTime = new Date(1495555200000L);
    Date endTime = new Date(1495814400000L);

    List<Date> dateList = CrontabUtil.getCycleFireDate(startTime, endTime, cronExpression);

    for (Date date : dateList) {
      System.out.println(date);
    }
  }