Skip to content
Snippets Groups Projects
Commit 44db1e42 authored by Theodoros Katzalis's avatar Theodoros Katzalis
Browse files

Remove a comment

parent a87f9699
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,6 @@ TimeAndDate::TimeAndDate() { ...@@ -14,8 +14,6 @@ TimeAndDate::TimeAndDate() {
TimeAndDate::TimeAndDate(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, TimeAndDate::TimeAndDate(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute,
uint8_t second) { uint8_t second) {
// check if the parameters makes sense // check if the parameters makes sense
// @todo change the condition of the assertion for the \p year
assertI(2019 <= year, ErrorHandler::InternalErrorType::InvalidDate); assertI(2019 <= year, ErrorHandler::InternalErrorType::InvalidDate);
assertI(1 <= month && month <= 12, ErrorHandler::InternalErrorType::InvalidDate); assertI(1 <= month && month <= 12, ErrorHandler::InternalErrorType::InvalidDate);
assertI(1 <= day && month <= 31, ErrorHandler::InternalErrorType::InvalidDate); assertI(1 <= day && month <= 31, ErrorHandler::InternalErrorType::InvalidDate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment