java.time.LocalDate.of(int year, Month month, int dayOfMonth)


java.time.LocalDate.of(int year, Month month, int dayOfMonth)

package com.codingdict;

import java.time.LocalDate;
import java.time.Month;

public class LocalDateDemo {
   public static void main(String[] args) {

      LocalDate date = LocalDate.of(2017,Month.FEBRUARY,3);
      System.out.println(date);  
   }
}