Class YearValueMatcher
java.lang.Object
org.aoju.bus.cron.pattern.matcher.YearValueMatcher
- All Implemented Interfaces:
org.aoju.bus.core.lang.Matcher<Integer>,PartMatcher
年匹配
考虑年数字太大,不适合boolean数组,单独使用
LinkedHashSet匹配- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
YearValueMatcher
-
-
Method Details
-
match
- Specified by:
matchin interfaceorg.aoju.bus.core.lang.Matcher<Integer>
-
nextAfter
public int nextAfter(int value) Description copied from interface:PartMatcher获取指定值之后的匹配值,也可以是指定值本身- Specified by:
nextAfterin interfacePartMatcher- Parameters:
value- 指定的值- Returns:
- 匹配到的值或之后的值
-