From 55a79d2318aeafdae2a5cb34327fc22ad136a12a Mon Sep 17 00:00:00 2001 From: hahuang4 <142834501+hahuang4@users.noreply.github.com> Date: Mon, 29 Apr 2024 22:46:40 -0700 Subject: [PATCH] Update APCalendar.java --- src/main/java/APCalendar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;