public final class OffsetTimes
extends java.lang.Object
OffsetTime
.Modifier and Type | Method and Description |
---|---|
static io.spine.util.SerializableConverter<java.time.OffsetTime,OffsetTime> |
converter()
Obtains converter from Java Time.
|
static OffsetTime |
of(LocalTime time,
ZoneOffset zoneOffset)
Obtains offset time using
LocalTime and ZoneOffset . |
static OffsetTime |
of(java.time.OffsetTime value)
Creates a new instance by passed Java Time value.
|
static OffsetTime |
parse(java.lang.String str)
Parse from ISO-8601 string to
OffsetTime . |
static java.time.OffsetTime |
toJavaTime(OffsetTime value)
Coverts the passed value to Java Time instance.
|
static java.lang.String |
toString(OffsetTime value)
Returns a ISO-8601 time string corresponding to the passed value.
|
public static OffsetTime of(LocalTime time, ZoneOffset zoneOffset)
LocalTime
and ZoneOffset
.public static OffsetTime of(java.time.OffsetTime value)
public static java.time.OffsetTime toJavaTime(OffsetTime value)
public static java.lang.String toString(OffsetTime value)
public static OffsetTime parse(java.lang.String str)
OffsetTime
.public static io.spine.util.SerializableConverter<java.time.OffsetTime,OffsetTime> converter()