public final class ZoneIds
extends java.lang.Object
ZoneId
.Modifier and Type | Method and Description |
---|---|
static io.spine.util.SerializableConverter<java.time.ZoneId,ZoneId> |
converter()
Obtains the converter from Java Time and back.
|
static ZoneId |
of(java.lang.String id)
Obtains the instance for the passed value.
|
static ZoneId |
of(java.time.ZoneId value)
Creates an instance by the passed Java Time value.
|
static ZoneId |
parse(java.lang.String str)
Parses zone ID from the passed string, ensuring that the ID is valid and is
available for use.
|
static ZoneId |
systemDefault()
Obtains the system default time-zone.
|
static java.time.ZoneId |
toJavaTime(ZoneId value)
Converts the passed value to Java Time.
|
static java.lang.String |
toString(ZoneId value)
Converts the passed instance to the string representation of the zone ID.
|
public static ZoneId systemDefault()
public static ZoneId of(java.lang.String id)
public static ZoneId of(java.time.ZoneId value)
public static java.time.ZoneId toJavaTime(ZoneId value)
public static ZoneId parse(java.lang.String str)
toString(ZoneId)
,
ZoneId.of(String)
public static java.lang.String toString(ZoneId value)
parse(String)
public static io.spine.util.SerializableConverter<java.time.ZoneId,ZoneId> converter()