of

public static LocalDateTime of(LocalDateTime value)

Creates an instance based on the passed Java Time value.


public static LocalDateTime of(LocalDate date, LocalTime time)

Creates an instance with the passed date and time.