OffsetDateTimes

public final class OffsetDateTimes

Deprecated

Routines for working with io.spine.time.OffsetDateTime.

Deprecated

please use ZonedDateTimes instead.

Functions

Link copied to clipboard
public static SerializableConverter<OffsetDateTime, OffsetDateTime> converter()
Obtains converter from Java Time and back.
Link copied to clipboard
public static OffsetDateTime of(OffsetDateTime value)
Creates new instance based on the passed Java Time value.
public static OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset)
Creates a new instance with the passed values.
Link copied to clipboard
public static OffsetDateTime parse(String value)
Parses from ISO-8601 date/time string to OffsetDateTime.
Link copied to clipboard
Converts the passed value to Java Time instance.
Link copied to clipboard
public static String toString(OffsetDateTime value)
Returns a ISO-8601 date/time string corresponding to the passed value.