ZoneIds

public final class ZoneIds

Utilities for working with ZoneId.

Functions

Link copied to clipboard
public static SerializableConverter<ZoneId, ZoneId> converter()
Obtains the converter from Java Time and back.
Link copied to clipboard
public static ZoneId of(String id)
Obtains the instance for the passed value.
public static ZoneId of(ZoneId value)
Creates an instance by the passed Java Time value.
Link copied to clipboard
public static ZoneId parse(String str)
Parses zone ID from the passed string, ensuring that the ID is valid and is available for use.
Link copied to clipboard
public static ZoneId systemDefault()
Obtains the system default time-zone.
Link copied to clipboard
public static ZoneId toJavaTime(ZoneId value)
Converts the passed value to Java Time.
Link copied to clipboard
public static String toString(ZoneId value)
Converts the passed instance to the string representation of the zone ID.