finetuning
This commit is contained in:
parent
3f90260b93
commit
680b2afbc5
@ -7,16 +7,6 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
//Zeichen Hex Okt
|
||||
//========================
|
||||
// 'Ä' 8E 216
|
||||
// 'ä' 84 204
|
||||
// 'Ö' 99 231
|
||||
// 'ö' 94 224
|
||||
// 'Ü' 9A 232
|
||||
// 'ü' 81 201
|
||||
// 'ß' E1 341
|
||||
|
||||
class date
|
||||
{
|
||||
private:
|
||||
@ -47,7 +37,14 @@ public:
|
||||
return std::to_string(day_) + "." + to_string(month_) + "." + to_string(year_);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Implements the equality operator.
|
||||
*/
|
||||
bool operator ==(const date& d) const { return day_ == d.day_ && month_ == d.month_ && year_ == d.year_; }
|
||||
|
||||
/**
|
||||
* \brief Implements the inequality operator.
|
||||
*/
|
||||
bool operator !=(const date& d) const { return !operator==(d); }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user