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, getTimeZone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseObject
getLocale, getPattern, getTimeZone
public static PureDateParser INSTANCE
public DateTime parse(String source) throws DateException
DateParser
parse
in interface DateParser
source
- 被解析的日期字符串Date
对象DateException
Copyright © 2024. All rights reserved.