30 lines
444 B
C
30 lines
444 B
C
|
//
|
||
|
// Created by quentin on 8/12/22.
|
||
|
//
|
||
|
|
||
|
#ifndef BUDGET_DATEMONEY_H
|
||
|
#define BUDGET_DATEMONEY_H
|
||
|
|
||
|
|
||
|
#include <ctime>
|
||
|
|
||
|
class DateMoney {
|
||
|
public:
|
||
|
bool operator<(const DateMoney &rhs) const;
|
||
|
|
||
|
bool operator>(const DateMoney &rhs) const;
|
||
|
|
||
|
bool operator<=(const DateMoney &rhs) const;
|
||
|
|
||
|
bool operator>=(const DateMoney &rhs) const;
|
||
|
|
||
|
DateMoney(const int *value, tm *date);
|
||
|
|
||
|
private:
|
||
|
const int* value;
|
||
|
tm *date;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //BUDGET_DATEMONEY_H
|