From ae42b62aa6e75c172e450ab397ab902c40697b9b Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 11 Aug 2019 18:34:29 -0600 Subject: fix javadoc --- src/Q6/WeekDay.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Q6/WeekDay.java') diff --git a/src/Q6/WeekDay.java b/src/Q6/WeekDay.java index db77c17..7ef1082 100644 --- a/src/Q6/WeekDay.java +++ b/src/Q6/WeekDay.java @@ -21,6 +21,7 @@ public class WeekDay { * @param day the day of the month * @param month the month of the year * @param year the year + * @return the name of the day of the week. (Sunday to Saturday) */ public String getWeekDay(int day, int month, int year) { this.ensureValidDate(year, month, day); @@ -53,7 +54,10 @@ public class WeekDay { throw new IllegalArgumentException(); } - /** The entry point to the console application. */ + /** + * The entry point to the console application. + * @param args the argument vector given to the program. + * */ public static void main(String[] args) { Scanner in = new Scanner(System.in); -- cgit v1.2.3