diff --git a/src/main/java/APCalendar.java b/src/main/java/APCalendar.java index f9b057e..a55b82f 100644 --- a/src/main/java/APCalendar.java +++ b/src/main/java/APCalendar.java @@ -60,7 +60,7 @@ private static int dayOfYear(int month, int day, int year) public static int dayOfWeek(int month, int day, int year) { /* to be implemented in part (b) */ - int startDay=firstDayofYear(year); + int startDay=firstDayOfYear(year); int nthDay=dayofYear(month, day, year); int returnDay= (startDay+nthDay-1)%7; return returnDay;