forked from nus-cs2103-AY2122S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from jaredlhf/incorporate-dates
Incorporate Dates to Add command
- Loading branch information
Showing
21 changed files
with
240 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ public class AddCommand extends Command { | |
+ CliSyntax.PREFIX_EMAIL + "EMAIL " | ||
+ CliSyntax.PREFIX_VACCSTATUS + "VACCINATION STATUS " | ||
+ CliSyntax.PREFIX_FACULTY + "FACULTY " | ||
//TODO | ||
+ CliSyntax.PREFIX_FETDATE + "LAST FET DATE " | ||
+ CliSyntax.PREFIX_COLLECTIONDATE + "LAST COLLECTION DATE \n" | ||
|
||
|
@@ -33,9 +32,8 @@ public class AddCommand extends Command { | |
+ CliSyntax.PREFIX_EMAIL + "[email protected] " | ||
+ CliSyntax.PREFIX_VACCSTATUS + "T " | ||
+ CliSyntax.PREFIX_FACULTY + "SoC " | ||
//TODO | ||
+ CliSyntax.PREFIX_FETDATE + "TODO " | ||
+ CliSyntax.PREFIX_COLLECTIONDATE + "TODO "; | ||
+ CliSyntax.PREFIX_FETDATE + "20-10-2021 " | ||
+ CliSyntax.PREFIX_COLLECTIONDATE + "23-10-2021 "; | ||
|
||
public static final String MESSAGE_SUCCESS = "New resident added: %1$s"; | ||
public static final String MESSAGE_DUPLICATE_PERSON = "This resident already exists in the address book"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,61 +7,61 @@ | |
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "SoC", | ||
"lastFetDate" : "09-09-2021", | ||
"lastCollectionDate" : "10-09-2021" | ||
"lastFetDate" : "03-10-2021", | ||
"lastCollectionDate" : "03-10-2021" | ||
}, { | ||
"name" : "Benson Meier", | ||
"room" : "A101", | ||
"phone" : "98765432", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "10-09-2021", | ||
"lastCollectionDate" : "11-09-2021" | ||
"faculty" : "SoC", | ||
"lastFetDate" : "12-10-2021", | ||
"lastCollectionDate" : "13-10-2021" | ||
}, { | ||
"name" : "Carl Kurz", | ||
"room" : "A102", | ||
"phone" : "95352563", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "11-09-2021", | ||
"lastCollectionDate" : "12-09-2021" | ||
"vaccStatus" : "F", | ||
"faculty" : "SoC", | ||
"lastFetDate" : "10-10-2021", | ||
"lastCollectionDate" : "03-10-2021" | ||
}, { | ||
"name" : "Daniel Meier", | ||
"room" : "A103", | ||
"phone" : "87652533", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "09-09-2021", | ||
"lastCollectionDate" : "08-09-2021" | ||
"faculty" : "SoC", | ||
"lastFetDate" : "12-10-2021", | ||
"lastCollectionDate" : "13-10-2021" | ||
}, { | ||
"name" : "Elle Meyer", | ||
"room" : "A104", | ||
"phone" : "9482224", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "12-09-2021", | ||
"lastCollectionDate" : "12-09-2021" | ||
"vaccStatus" : "F", | ||
"faculty" : "SoC", | ||
"lastFetDate" : "05-10-2021", | ||
"lastCollectionDate" : "16-10-2021" | ||
}, { | ||
"name" : "Fiona Kunz", | ||
"room" : "A105", | ||
"phone" : "9482427", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "20-09-2021", | ||
"lastCollectionDate" : "21-09-2021" | ||
"faculty" : "SoC", | ||
"lastFetDate" : "20-10-2021", | ||
"lastCollectionDate" : "04-10-2021" | ||
}, { | ||
"name" : "George Best", | ||
"room" : "A106", | ||
"phone" : "9482442", | ||
"email" : "[email protected]", | ||
"vaccStatus" : "T", | ||
"faculty" : "FASS", | ||
"lastFetDate" : "01-09-2021", | ||
"lastCollectionDate" : "22-09-2021" | ||
"vaccStatus" : "F", | ||
"faculty" : "SoC", | ||
"lastFetDate" : "15-10-2021", | ||
"lastCollectionDate" : "01-10-2021" | ||
} ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.