Java tutorial
import java.time.LocalDate; import java.time.Month; import java.time.Year; public class Main { public static void main(String[] args) { Month month = Month.valueOf("January".toUpperCase()); LocalDate date = Year.now().atMonth(month).atDay(12); System.out.println(date); } }