OffsetDateTime.of
- OffsetDateTime of(LocalDate date, LocalTime time, ZoneOffset offset)
- OffsetDateTime of(LocalDateTime dateTime, ZoneOffset offset)
- OffsetDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)
Obtains an instance of {@code OffsetDateTime} from a date-time and offset. !(p) This creates an offset date-time with the specified local date-time and offset.
@param dateTime the local date-time, not null @param offset the zone offset, not null @return the offset date-time, not null