Class FastTimeParser
java.lang.Object
org.aoju.bus.core.date.formatter.NormalMotd
org.aoju.bus.core.date.formatter.parser.FastTimeParser
- All Implemented Interfaces:
Serializable,DateMotd,DateParser
时间日期字符串,日期默认为当天,支持格式类似于;
HH:mm:ss HH:mm
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aoju.bus.core.date.formatter.NormalMotd
getLocale, getPattern, getTimeZoneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aoju.bus.core.date.formatter.DateMotd
getLocale, getPattern, getTimeZoneMethods inherited from interface org.aoju.bus.core.date.formatter.parser.DateParser
parseObject
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
FastTimeParser
public FastTimeParser()
-
-
Method Details
-
parse
Description copied from interface:DateParser将日期字符串解析并转换为Date对象 等价于DateFormat.parse(String)- Specified by:
parsein interfaceDateParser- Parameters:
source- 被解析的日期字符串- Returns:
Date对象
-