public abstract class AbstractMotd extends Object implements DateMotd, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Locale |
locale
语言环境
|
protected String |
pattern
匹配规则
|
protected TimeZone |
timeZone
时区
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMotd(String pattern,
TimeZone timeZone,
Locale locale)
构造,内部使用
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Locale |
getLocale()
获得 日期地理位置
|
String |
getPattern()
获得日期格式化或者转换的格式
|
TimeZone |
getTimeZone()
获得时区
|
int |
hashCode() |
protected final String pattern
protected final TimeZone timeZone
protected final Locale locale
public String getPattern()
DateMotdgetPattern in interface DateMotdSimpleDateFormat兼容的格式public TimeZone getTimeZone()
DateMotdgetTimeZone in interface DateMotdTimeZoneCopyright © 2022. All rights reserved.