mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -35,7 +35,7 @@ public class DayOfWeekValueParser extends SimpleValueParser {
|
||||
* 解析别名
|
||||
* @param value 别名值
|
||||
* @return 月份int值
|
||||
* @throws CronException
|
||||
* @throws CronException 无效别名抛出此异常
|
||||
*/
|
||||
private int parseAlias(String value) throws CronException {
|
||||
if(value.equalsIgnoreCase("L")){
|
||||
|
@@ -30,7 +30,7 @@ public class MonthValueParser extends SimpleValueParser {
|
||||
* 解析别名
|
||||
* @param value 别名值
|
||||
* @return 月份int值
|
||||
* @throws CronException
|
||||
* @throws CronException 无效月别名抛出此异常
|
||||
*/
|
||||
private int parseAlias(String value) throws CronException {
|
||||
for (int i = 0; i < ALIASES.length; i++) {
|
||||
|
Reference in New Issue
Block a user