finetuning
This commit is contained in:
@ -7,16 +7,6 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
//Zeichen Hex Okt
|
||||
//========================
|
||||
// '<27>' 8E 216
|
||||
// '<27>' 84 204
|
||||
// '<27>' 99 231
|
||||
// '<27>' 94 224
|
||||
// '<27>' 9A 232
|
||||
// '<27>' 81 201
|
||||
// '<27>' 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); }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user