public class MonthValueParser extends SimpleValueParser
max, min| Constructor and Description |
|---|
MonthValueParser() |
| Modifier and Type | Method and Description |
|---|---|
int |
parse(String value)
处理String值并转为int
转换包括:
数字字符串转为数字
别名转为对应的数字(如月份和星期)
|
getMax, getMinpublic int parse(String value) throws org.aoju.bus.core.lang.exception.InstrumentException
ValueParserparse in interface ValueParserparse in class SimpleValueParservalue - String值org.aoju.bus.core.lang.exception.InstrumentExceptionCopyright © 2019. All rights reserved.