ZoneId
Class ZoneId
- java.lang.Object
-
- java.time.ZoneId
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ZoneOffset
public abstract class ZoneId extends Object implements Serializable
A time-zone ID, such as Europe/Paris
.
A ZoneId
is used to identify the rules used to convert between an Instant
and a LocalDateTime
. There are two distinct types of ID:
- Fixed offsets - a fully resolved offset from UTC/Greenwich