Junit 判断cron语句的正确性和下一次执行时间

 Junit 判断cron语句的正确性和下一次执行时间,Spring有提供类CronSequenceGenerator供咱们使用测试 /** * 判断cron语句的正确性 */ @org.junit.Test public void test4(){ SimpleDateFormat sdf = new SimpleDateFormat("yyy
相关文章
相关标签/搜索