java.time · java.base · since Java 1.8
ZoneId
public abstract class ZoneId implements SerializableA time-zone identifier ("Europe/Belgrade") carrying the full IANA rule history — offsets, DST transitions, past reforms. Prefer region ids over fixed offsets.
Key methods
static ZoneId of(String zoneId) | "Europe/Belgrade", "America/New_York", "UTC". |
static ZoneId systemDefault() | The JVM's zone — an input, never an assumption. |