### Question:
CronUtils { public static Cron parse2Cron(String cronExpression) { return QUARTZ_CRON_PARSER.parse(cronExpression); } private  CronUtils(); static Cron parse2Cron(String cronExpression); static CronExpression parse2CronExpression(String cronExpression); static CycleEnum getMaxCycle(Cron cron); static CycleEnum getMiniCycle(Cron cron); static CycleEnum getMaxCycle(String crontab); static List<Date> getFireDateList(Date startTime, Date endTime, CronExpression cronExpression); static List<Date> getSelfFireDateList(Date startTime, Date endTime, CronExpression cronExpression,int fireTimes); static List<Date> getSelfFireDateList(Date startTime, Date endTime, CronExpression cronExpression); static List<Date> getSelfFireDateList(Date startTime, Date endTime, String cron); static Date getExpirationTime(Date startTime, CycleEnum cycleEnum);  }### Answer:
@Test public void testCronParse() throws ParseException { String strCrontab = "0 1 2 3 * ? *"; Cron depCron = CronUtils.parse2Cron(strCrontab); Assert.assertEquals("0", depCron.retrieve(CronFieldName.SECOND).getExpression().asString()); Assert.assertEquals("1", depCron.retrieve(CronFieldName.MINUTE).getExpression().asString()); Assert.assertEquals("2", depCron.retrieve(CronFieldName.HOUR).getExpression().asString()); Assert.assertEquals("3", depCron.retrieve(CronFieldName.DAY_OF_MONTH).getExpression().asString()); Assert.assertEquals("*", depCron.retrieve(CronFieldName.MONTH).getExpression().asString()); Assert.assertEquals("*", depCron.retrieve(CronFieldName.YEAR).getExpression().asString()); }