Java tutorial
import java.time.LocalDate; import java.time.Year; public class Main { public static void main(String[] args) { Year y = Year.of(2014); LocalDate l = y.atDay(123); System.out.println(l); } }