LocalDateTime.of
- LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute)
- LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int second)
- LocalDateTime of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)
- LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute)
- LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second)
- LocalDateTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond)
- LocalDateTime of(LocalDate date, LocalTime time)
Obtains an instance of {@code LocalDateTime} from a date and time.
@param date the local date, not null @param time the local time, not null @return the local date-time, not null