Skip to content

Commit

Permalink
Add comment for day of week format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
blaukc committed Mar 27, 2024
1 parent 9ff156c commit 9330d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/seedu/address/model/module/Day.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
public class Day {
public static final String MESSAGE_CONSTRAINTS =
"Day should be in the format like Mon, Tue, Wed, Thu, Fri, Sat, Sun";
// E format requires the first 3 characters of the day of the week, i.e. Monday -> Mon
private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("E");
private final DayOfWeek day;

Expand Down

0 comments on commit 9330d00

Please sign in to comment.