public class SimpleDateBasic 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 |
SimpleDateBasic(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()
DateBasicgetPattern in interface DateBasicSimpleDateFormat兼容的格式public TimeZone getTimeZone()
DateBasicgetTimeZone in interface DateBasicTimeZoneCopyright © 2025. All rights reserved.