@@ -0,0 +1,1177 @@
+package java_problems.introduction;%0D%0A%0D%0Aimport java.util.*;%0D%0Aimport java.time.LocalDate;%0D%0Aimport java.time.format.DateTimeFormatter;%0D%0Aimport java.time.DayOfWeek;%0D%0Aimport java.time.format.TextStyle;%0D%0A%0D%0A/*%0D%0A * You are given a date. Your task is to find what the day is on that date.%0D%0A * %0D%0A * Input Format: %0D%0A * A single line of input containing the space separated month, day and year,%0D%0A * respectively, in format.%0D%0A * %0D%0A * Constraints:%0D%0A * 2000 %3C year %3C 3000%0D%0A * %0D%0A * Output Format: %0D%0A * Output the correct day in capital letters.%0D%0A * %0D%0A * Sample Input: %0D%0A * 08 05 2015%0D%0A * %0D%0A * Sample Output%0D%0A * WEDNESDAY%0D%0A */%0D%0Apublic class JavaDateTime %7B%0D%0A%0D%0A    public static void main(String%5B%5D args) %7B%0D%0A        Scanner in = new Scanner(System.in);%0D%0A        String month = in.next();%0D%0A        String day = in.next();%0D%0A        String year = in.next();%0D%0A        %0D%0A        DateTimeFormatter formatter = DateTimeFormatter.ofPattern(%22d/M/yyyy%22);%0D%0A        LocalDate date = LocalDate.parse(day + %22/%22 + month + %22/%22 + year, formatter);%0D%0A        DayOfWeek dow = date.getDayOfWeek();%0D%0A        System.out.println(dow.getDisplayName(TextStyle.FULL, Locale.US).toUpperCase());%0D%0A        in.close();%0D%0A    %7D%0D%0A%7D

Add JavaDateTime