@@ -0,0 +1,950 @@
+package com.javarush.task.task08.task0827;%0A%0Aimport java.util.Date;%0A%0A/* %0A%D0%A0%D0%B0%D0%B1%D0%BE%D1%82%D0%B0 %D1%81 %D0%B4%D0%B0%D1%82%D0%BE%D0%B9%0A*/%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(isDateOdd(%22MAY 1 2013%22));%0A        // System.out.println(isDateOdd(%22JANUARY 1 2000%22));%0A        // System.out.println(isDateOdd(%22JANUARY 2 2020%22));%0A    %7D%0A%0A    public static boolean isDateOdd(String date) %7B%0A        Date checkedDate = new Date(date);%0A%0A        Date checkDateYearStartTime = new Date(date);%0A        checkDateYearStartTime.setHours(0);%0A        checkDateYearStartTime.setMinutes(0);%0A        checkDateYearStartTime.setSeconds(0);%0A%0A        checkDateYearStartTime.setDate(1);%0A        checkDateYearStartTime.setMonth(0);%0A%0A        int msInDay = 24 * 60 * 60 * 1000;%0A        long msTimeDistance = checkedDate.getTime() - checkDateYearStartTime.getTime();%0A        int dayCount = (int)(msTimeDistance / msInDay) + 1;%0A%0A        return (dayCount %25 2 != 0);%0A    %7D%0A%7D%0A

Complete task0827