public class PartParser extends Object
Part指定不同部分,解析为PartMatcher| Constructor and Description |
|---|
PartParser(Part part)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static PartParser |
of(Part part)
创建解析器
|
PartMatcher |
parse(String value)
将表达式解析为
PartMatcher* 或者 ? |
public PartParser(Part part)
part - 对应解析的部分枚举public static PartParser of(Part part)
part - 对应解析的部分枚举public PartMatcher parse(String value)
PartMatcherAlwaysTrueMatcherPart.DAY_OF_MONTH 返回DayOfMonthMatcherPart.YEAR 返回YearValueMatcherBoolArrayMatchervalue - 表达式PartMatcherCopyright © 2025. All rights reserved.