Package | Description |
---|---|
cn.hutool.cron.pattern.matcher |
定时任务表达式匹配器,内部使用
|
Modifier and Type | Class and Description |
---|---|
class |
AlwaysTrueValueMatcher
值匹配,始终返回
true |
class |
BoolArrayValueMatcher
将表达式中的数字值列表转换为Boolean数组,匹配时匹配相应数组位
|
class |
DayOfMonthValueMatcher
每月第几天匹配
考虑每月的天数不同,且存在闰年情况,日匹配单独使用 |
class |
YearValueMatcher
年匹配
考虑年数字太大,不适合boolean数组,单独使用列表遍历匹配 |
Modifier and Type | Method and Description |
---|---|
static ValueMatcher |
ValueMatcherBuilder.build(String value,
ValueParser parser)
处理定时任务表达式每个时间字段
多个时间使用逗号分隔 |
Copyright © 2021. All rights reserved.