public final class ZonedDateTimes
extends java.lang.Object
ZonedDateTime
.Modifier and Type | Method and Description |
---|---|
static io.spine.util.SerializableConverter<java.time.ZonedDateTime,ZonedDateTime> |
converter()
Obtains converter from Java Time and back.
|
static ZonedDateTime |
of(LocalDateTime dateTime,
ZoneId zone)
Obtains the zoned time for the local date-time at the passed time zone.
|
static ZonedDateTime |
of(java.time.ZonedDateTime value)
Creates the instance by the passed Java Time value.
|
static ZonedDateTime |
parse(java.lang.String str)
Parses the ISO-8601 string representation of the zoned date-time value.
|
static java.time.ZonedDateTime |
toJavaTime(ZonedDateTime value)
Converts the passed value to Java Time.
|
static java.lang.String |
toString(ZonedDateTime value)
Converts the passed value to ISO-8601 zoned date/time string.
|
public static ZonedDateTime of(LocalDateTime dateTime, ZoneId zone)
public static ZonedDateTime of(java.time.ZonedDateTime value)
public static java.time.ZonedDateTime toJavaTime(ZonedDateTime value)
public static java.lang.String toString(ZonedDateTime value)
public static ZonedDateTime parse(java.lang.String str)
public static io.spine.util.SerializableConverter<java.time.ZonedDateTime,ZonedDateTime> converter()