@FunctionalInterface public interface DateParser
Date
对象Modifier and Type | Method and Description |
---|---|
Date |
parse(CharSequence source)
将日期字符串解析并转换为
Date 对象 |
Date parse(CharSequence source) throws DateException
Date
对象source
- 被解析的日期字符串Date
对象DateException
- 转换异常,被转换的字符串格式错误。Copyright © 2025. All rights reserved.