public class PureDateParser extends DefaultDateBasic implements DateParser
| Modifier and Type | Field and Description |
|---|---|
static PureDateParser |
INSTANCE
单例
|
| Constructor and Description |
|---|
PureDateParser() |
| Modifier and Type | Method and Description |
|---|---|
DateTime |
parse(String source)
|
getLocale, getPattern, getTimeZoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseObjectgetLocale, getPattern, getTimeZonepublic static PureDateParser INSTANCE
public DateTime parse(String source) throws DateException
DateParserparse in interface DateParsersource - 被解析的日期字符串Date对象DateExceptionCopyright © 2024. All rights reserved.