Package org.miaixz.bus.core.xyz
Class ZoneKit
java.lang.Object
org.miaixz.bus.core.xyz.ZoneKit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAvailableID(int rawOffset, TimeUnit timeUnit) 获取指定偏移量的可用时区ID,如果有多个时区匹配,使用第一个static TimeZonegetTimeZoneByOffset(int rawOffset, TimeUnit timeUnit) 获取指定偏移量的可用时区,如果有多个时区匹配,使用第一个static TimeZonetoTimeZone(ZoneId zoneId) static ZoneId
-
Field Details
-
ZONE_UTC
UTC 的 ZoneID -
ZONE_ID_UTC
UTC 的 TimeZone
-
-
Constructor Details
-
ZoneKit
public ZoneKit()
-
-
Method Details
-
toTimeZone
-
toZoneId
-
getTimeZoneByOffset
-
getAvailableID
-