Here you can find the source of getLocalDate(int year, int atDay)
public static void getLocalDate(int year, int atDay)
//package com.java2s; //License from project: Open Source License import java.time.LocalDate; import java.time.Year; public class Main { public static void getLocalDate(int year, int atDay) { LocalDate date = Year.of(year).atDay(atDay); // System.out.println(date); }/* w w w . j av a 2 s . c om*/ }