
- java.time 包類
- java.time - 首頁
- java.time - Clock
- java.time - Duration
- java.time - Instant
- java.time - LocalDate
- java.time - LocalDateTime
- java.time - LocalTime
- java.time - MonthDay
- java.time - OffsetDateTime
- java.time - OffsetTime
- java.time - Period
- java.time - Year
- java.time - YearMonth
- java.time - ZonedDateTime
- java.time - ZoneId
- java.time - ZoneOffset
- java.time 包列舉
- java.time - Month
- java.time 有用資源
- java.time - 討論
java.time.ZoneOffset 類
簡介
java.time.ZoneOffset 類表示相對於格林威治/UTC 的時區偏移量,例如 +02:00。
類宣告
以下是 java.time.ZoneOffset 類的宣告:
public final class ZoneOffset extends ZoneId implements TemporalAccessor, TemporalAdjuster, Comparable<ZoneOffset>, Serializable
欄位
以下是 Java.time.ZoneOffset 類的欄位:
static ZoneOffset MAX - 支援的最大偏移量的常量。
static ZoneOffset MIN - 支援的最小偏移量的常量。
static ZoneOffset UTC - UTC 的時區偏移量,ID 為 'Z'。
類方法
繼承的方法
此類繼承自以下類的方法:
- Java.time.ZoneId
- Java.lang.Object
廣告