of

public static OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset)

Creates a new instance with the passed values.


public static OffsetDateTime of(OffsetDateTime value)

Creates new instance based on the passed Java Time value.