20230630 java.time.ZoneOffset
介绍
- java.time.ZoneOffset
- 类声明
@jdk.internal.ValueBased
public final class ZoneOffset extends ZoneId implements TemporalAccessor, TemporalAdjuster, Comparable<ZoneOffset>, Serializable
- 实现
TemporalAccessor
,支持的时间域(TemporalField
)有- OFFSET_SECONDS
API
常量
- UTC : Z
- MIN : -18:00
- MAX : +18:00
static
- of
- ofHours
- ofHoursMinutes
- ofHoursMinutesSeconds
- ofTotalSeconds
- from
public
- getTotalSeconds