mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
bbcf5f1b54
commit
fbc4662271
@ -63,8 +63,8 @@ public class DateTimeMatcher {
|
||||
* @param minute 分钟
|
||||
* @param hour 小时
|
||||
* @param dayOfMonth 天
|
||||
* @param month 月
|
||||
* @param dayOfWeek 周几
|
||||
* @param month 月,从1开始
|
||||
* @param dayOfWeek 周,从0开始,0和7都表示周日
|
||||
* @param year 年
|
||||
* @return 如果匹配返回 {@code true}, 否则返回 {@code false}
|
||||
*/
|
||||
|
@ -11,6 +11,7 @@ public class CronPatternNextMatchTest {
|
||||
@Test
|
||||
public void nextMatchAfterTest(){
|
||||
CronPattern pattern = new CronPattern("23 12 * 12 * * *");
|
||||
//noinspection ConstantConditions
|
||||
final Calendar calendar = pattern.nextMatchAfter(
|
||||
DateUtil.parse("2022-04-12 09:12:23").toCalendar());
|
||||
Console.log(DateUtil.date(calendar));
|
||||
|
Loading…
x
Reference in New Issue
Block a user