Skip to content

Commit

Permalink
validday update
Browse files Browse the repository at this point in the history
  • Loading branch information
luongjuan123 committed Jan 17, 2025
1 parent e9c7cba commit eba9f0f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions PROJECT_FINAL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,6 @@ void standardize_Date(string &date){
}
}

bool isDouble(const std::string& s) {
std::stringstream ss(s);
double value;
char extra;

if (!(ss >> value)) {
return false;
}

if (ss >> extra) {
return false;
}

return true;
}

bool isLeapYear(string year) {
int yearInt = stoi(year);
Expand Down

0 comments on commit eba9f0f

Please sign in to comment.