public final class LocalDateTimes
extends java.lang.Object
LocalDateTime
.Modifier and Type | Method and Description |
---|---|
static io.spine.util.SerializableConverter<java.time.LocalDateTime,LocalDateTime> |
converter()
Obtains converter from Java Time.
|
static LocalDateTime |
of(LocalDate date,
LocalTime time)
Creates an instance with the passed date and time.
|
static LocalDateTime |
of(java.time.LocalDateTime value)
Creates an instance based on the passed Java Time value.
|
static LocalDateTime |
parse(java.lang.String str)
Parses the date-time value from ISO-8601 format string.
|
static java.time.LocalDateTime |
toJavaTime(LocalDateTime value)
Converts the passed value to Java Time.
|
static java.lang.String |
toString(LocalDateTime value)
Converts a local date-time value into ISO-8601 format string.
|
public static LocalDateTime of(java.time.LocalDateTime value)
public static LocalDateTime of(LocalDate date, LocalTime time)
public static java.time.LocalDateTime toJavaTime(LocalDateTime value)
public static io.spine.util.SerializableConverter<java.time.LocalDateTime,LocalDateTime> converter()
public static LocalDateTime parse(java.lang.String str)
toString(LocalDateTime)
public static java.lang.String toString(LocalDateTime value)
parse(String)