-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDate.h
More file actions
33 lines (32 loc) · 816 Bytes
/
Date.h
File metadata and controls
33 lines (32 loc) · 816 Bytes
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
/*********************************************************
* file name: Date.h
* programmer name: Lukas Belashov
* date created:2/4/2020
* date of last revision:2/4/2020
* details of the revision: None
* short description: The Date Class is a class that stores information about a date.
**********************************************************/
#ifndef DATE_H
#define DATE_H
#include <string>
using namespace std;
namespace team3Belashov
{
class Date
{
private:
int month, day, year;
public:
Date(const Date& s);
Date(int month = 1, int day = 1, int year = 1998);//construtor
//mutator functions
void setMonth(int);
void setDay(int);
void setYear(int);
//accessor functions
int getMonth() const;
int getDay() const;
int getYear() const;
};
}
#endif