From 46bfd3796bf0eb83dcb5a420cc656945a5df97f3 Mon Sep 17 00:00:00 2001 From: hahuang4 <142834501+hahuang4@users.noreply.github.com> Date: Mon, 29 Apr 2024 22:44:53 -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 9768db3..f9b057e 100644 --- a/src/main/java/APCalendar.java +++ b/src/main/java/APCalendar.java @@ -16,7 +16,7 @@ public static int numberOfLeapYears(int year1, int year2) int count=0; for(int y=year1;y<=year2;y++) { - if(isLeapYear(y) + if(isLeapYear(y)) { count++; }