public abstract class AbstractDateBasic extends Object implements DateBasic, Serializable
Modifier and Type | Field and Description |
---|---|
protected Locale |
locale
The locale.
|
protected String |
pattern
The pattern
|
protected TimeZone |
timeZone
The time zone.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractDateBasic(String pattern,
TimeZone timeZone,
Locale locale)
构造,内部使用
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Locale |
getLocale()
获得 日期地理位置
|
String |
getPattern()
获得日期格式化或者转换的格式
|
TimeZone |
getTimeZone()
获得时区
|
int |
hashCode() |
String |
toString() |
protected final String pattern
protected final TimeZone timeZone
protected final Locale locale
public String getPattern()
DateBasic
getPattern
in interface DateBasic
SimpleDateFormat
兼容的格式public TimeZone getTimeZone()
DateBasic
getTimeZone
in interface DateBasic
TimeZone
Copyright © 2024. All rights reserved.