Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3 recall command #64

Merged
merged 10 commits into from
Oct 26, 2020
Merged

Conversation

Liu-2001
Copy link

No description provided.

@Liu-2001 Liu-2001 self-assigned this Oct 25, 2020
@Liu-2001 Liu-2001 added this to the v1.3 milestone Oct 25, 2020
@Liu-2001 Liu-2001 linked an issue Oct 25, 2020 that may be closed by this pull request
}

@Override
public boolean test(Exercise exercise) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TheMostRecentDatePredicateForExercise but checking for exact match

java.util.Date otherDate = formatter.parse(other.value);
return thisDate.before(otherDate);
} catch (java.text.ParseException e) {
return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw exception? If return false hard to debug

@Nahoyhp
Copy link

Nahoyhp commented Oct 26, 2020

Fix #48

@Nahoyhp Nahoyhp closed this Oct 26, 2020
@Nahoyhp Nahoyhp reopened this Oct 26, 2020
@Nahoyhp Nahoyhp merged commit 42520ef into AY2021S1-CS2103T-W17-2:v1.3 Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a user, I can find the most recent data of the same exercise
3 participants