I passed the test with this code but in the Conditions example it returns "true" for January 1 2000. My code returns "false". I am confused again. Did I solve the task right or not? public class Solution { public static void main(String[] args) throws ParseException { System.out.println(isDateOdd("JANUARY 1 2000")); } public static boolean isDateOdd(String date) throws ParseException { boolean odd = true; SimpleDateFormat format = new SimpleDateFormat("MMMMM dd yyyy", Locale.ENGLISH); Date parsedTime = format.parse(date); Date yearStartTime = new Date(); int year = parsedTime.getYear(); yearStartTime.setYear(year); yearStartTime.setHours(0); yearStartTime.setMinutes(0); yearStartTime.setSeconds(0); yearStartTime.setDate(1); yearStartTime.setMonth(0); long a = parsedTime.getTime() - yearStartTime.getTime(); long b = a/(1000*60*60*24); if(b % 2 == 0){ odd = false; } else if(b % 2 != 0){ odd = true; } return odd; } } OUTPUT: false