public class RFC2822DateParser extends DefaultDateBasic implements PredicateDateParser
Tue Jun 4 16:25:15 +0800 2019 Thu May 16 17:57:18 GMT+08:00 2019 Wed Aug 01 00:00:00 CST 2012 Thu, 28 Mar 2024 14:33:49 GMT
| 限定符和类型 | 字段和说明 |
|---|---|
static RFC2822DateParser |
INSTANCE
单例对象
|
| 构造器和说明 |
|---|
RFC2822DateParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
DateTime |
parse(String source)
|
boolean |
test(CharSequence dateStr) |
getLocale, getPattern, getTimeZoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocale, getPattern, getTimeZonepublic static RFC2822DateParser INSTANCE
public boolean test(CharSequence dateStr)
test 在接口中 Predicate<CharSequence>public DateTime parse(String source)
DateParserparse 在接口中 DateParsersource - 被解析的日期字符串Date对象Copyright © 2024. All rights reserved.