import java.time.*;
class Runner{
	public static void main(String[] args){
        LocalDate d2 = LocalDate.of(2015, 2, 5);
        LocalDate d3 = LocalDate.now();
        System.out.println(d2);
        System.out.println(d3);
	}
}

Create runner.java