// // Created by ioachim on 18.05.2025. // #ifndef ZI_H #define ZI_H #include //#include "common.h" class Zi { public: Zi(int day, int month, int year); int day; int month; int year; bool verifExpirare() const; }; class ZiuaDeAzi { private: Zi z; static ZiuaDeAzi* instance; //static std::mutex mtx; ZiuaDeAzi() : z{12, 12, 12} {} public: ZiuaDeAzi(const ZiuaDeAzi& obj) = delete; static ZiuaDeAzi* getInstance(); Zi getZiuaDeAzi(); void setZiuaDeAzi(Zi _z); }; #endif //ZI_H