Package org.miaixz.bus.core.lang
Enum Class ZoneId
- All Implemented Interfaces:
Serializable,Comparable<ZoneId>,Constable
时区计算
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"Australia/Darwin","澳洲/达尔文""Australia/Sydney","澳洲/悉尼""America/Argentina/Buenos_Aires","美洲/阿根廷/布宜诺斯艾利斯""Africa/Cairo","非洲/开罗""America/Anchorage","美洲/安克雷奇""America/Sao_Paulo","美洲/圣保罗""Asia/Dhaka","亚洲/达卡""Africa/Harare","非洲/哈拉雷""America/St_Johns","美洲/圣约翰""America/Chicago","美洲/芝加哥""+08:00","Asia/Shanghai", "亚洲/上海""Africa/Addis_Ababa","非洲/亚的斯亚贝巴""Europe/Paris","欧洲/巴黎""-05:00", "EST", "北美东部标准时间""Universal Time","世界时""-10:00", "HST", "夏威夷-阿留申标准时区""America/Indiana/Indianapolis","美洲/印第安纳州/印第安纳波利斯""Asia/Kolkata","亚洲/加尔各答""Asia/Tokyo","亚洲/东京""Pacific/Apia","太平洋/阿皮亚""-07:00", "MDT","北美山地标准时间""Asia/Yerevan","亚洲/埃里温""Pacific/Auckland","太平洋/奥克兰""Asia/Karachi","亚洲/卡拉奇""America/Phoenix","美洲/凤凰城""America/Puerto_Rico","美洲/波多黎各""America/Los_Angeles","美洲/洛杉矶""Pacific/Guadalcanal","太平洋/瓜达尔卡纳尔岛""Worldwide","世界标准时间""+08:00", "Asia/Ho_Chi_Minh", "亚洲/胡志明市" -
Method Summary
-
Enum Constant Details
-
UTC
"Worldwide","世界标准时间" -
GMT
"Universal Time","世界时" -
ACT
"Australia/Darwin","澳洲/达尔文" -
AET
"Australia/Sydney","澳洲/悉尼" -
AGT
"America/Argentina/Buenos_Aires","美洲/阿根廷/布宜诺斯艾利斯" -
ART
"Africa/Cairo","非洲/开罗" -
AST
"America/Anchorage","美洲/安克雷奇" -
BET
"America/Sao_Paulo","美洲/圣保罗" -
BST
"Asia/Dhaka","亚洲/达卡" -
CAT
"Africa/Harare","非洲/哈拉雷" -
CNT
"America/St_Johns","美洲/圣约翰" -
CST
"America/Chicago","美洲/芝加哥" -
CTT
"+08:00","Asia/Shanghai", "亚洲/上海" -
EAT
"Africa/Addis_Ababa","非洲/亚的斯亚贝巴" -
ECT
"Europe/Paris","欧洲/巴黎" -
IET
"America/Indiana/Indianapolis","美洲/印第安纳州/印第安纳波利斯" -
IST
"Asia/Kolkata","亚洲/加尔各答" -
JST
"Asia/Tokyo","亚洲/东京" -
MIT
"Pacific/Apia","太平洋/阿皮亚" -
NET
"Asia/Yerevan","亚洲/埃里温" -
NST
"Pacific/Auckland","太平洋/奥克兰" -
PLT
"Asia/Karachi","亚洲/卡拉奇" -
PNT
"America/Phoenix","美洲/凤凰城" -
PRT
"America/Puerto_Rico","美洲/波多黎各" -
PST
"America/Los_Angeles","美洲/洛杉矶" -
SST
"Pacific/Guadalcanal","太平洋/瓜达尔卡纳尔岛" -
VST
"+08:00", "Asia/Ho_Chi_Minh", "亚洲/胡志明市" -
EST
"-05:00", "EST", "北美东部标准时间" -
MST
"-07:00", "MDT","北美山地标准时间" -
HST
"-10:00", "HST", "夏威夷-阿留申标准时区"
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getZoneId
-
getEnName
-
getCnName
-