diff options
| author | mo khan <mo@mokhan.ca> | 2019-08-11 18:34:29 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2019-08-11 18:34:29 -0600 |
| commit | ae42b62aa6e75c172e450ab397ab902c40697b9b (patch) | |
| tree | b519030b8be96c207433856eb7724af030779e92 /src/Q6 | |
| parent | d4932bfe4b6468fb4622bc9d6765d30c44d7edeb (diff) | |
fix javadoc
Diffstat (limited to 'src/Q6')
| -rw-r--r-- | src/Q6/WeekDay.java | 6 |
1 files changed, 5 insertions, 1 deletions
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); |
