time
2.0.0-SNAPSHOT.121
time
/
io.spine.time
/
ZoneIds
Zone
Ids
public
final
class
ZoneIds
Utilities for working with
ZoneId
.
Functions
Functions
converter
Link copied to clipboard
public
static
SerializableConverter
<
ZoneId
,
ZoneId
>
converter
(
)
Obtains the converter from Java Time and back.
of
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.
parse
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.
system
Default
Link copied to clipboard
public
static
ZoneId
systemDefault
(
)
Obtains the system default time-zone.
to
Java
Time
Link copied to clipboard
@
Deprecated
(
)
public
static
ZoneId
toJavaTime
(
ZoneId
value
)
Converts the passed value to Java Time.
to
String
Link copied to clipboard
public
static
String
toString
(
ZoneId
value
)
Converts the passed instance to the string representation of the zone ID.