-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tache.h
49 lines (43 loc) · 1004 Bytes
/
Tache.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef TACHE_H
#define TACHE_H
#include <iostream>
#include <string>
#include <chrono>
#include "date/date.h"
#include "date/chrono_io.h"
#include "sdateAuto.h"
using namespace date;
using namespace std::chrono;
using day_point = std::chrono::time_point<std::chrono::system_clock, days>;
using namespace std;
class Tache
{
private:
//attributs
string action;
string dt;
struct sdateAuto dateAction;
//bool check = false;
public:
//constructeurs
Tache();
Tache(const string &, const string &);
//Tache(const string &);
~Tache();
//accesseurs
string getAction() const;
string getDT() const;
struct sdateAuto getDateAction() const;
//bool getCheck() const;
//mutateurs
void setAction(const string &);
void setDT(const string &);
void setDateAction();
//void setCheck(const bool &);
//fonctions amie
friend ostream& operator<<(ostream &, const Tache &);
//fonctions
string toStringDT();
//...
};
#endif