java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second) java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute) java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second, java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second) package com.codingdict; import java.time.LocalDateTime; import java.time.Month; public class LocalDateTimeDemo { public static void main(String[] args) { LocalDateTime date = LocalDateTime.of(2017,Month.FEBRUARY,3,6,30,40); System.out.println(date); } } java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute) java.time.LocalDateTime.of(int year, Month month, int dayOfMonth, int hour, int minute, int second,