AddressBooks  Version 0.1
This is a basic 10 person address book
 All Classes Functions Variables
Date.h
1 #ifndef DATE_H
2 #define DATE_H
3 
7 class Date
8 {
9 private:
10  unsigned int month;
11  unsigned int day;
12  unsigned int year;
13 
14  bool checkYear() const;
15  bool checkDay() const;
16  bool checkMonth() const;
17 public:
18 
19  //constructors
20  Date();
21  Date(int m, int d, int y);
22 
23  //getters
24  int getMonth() const;
25  int getDay() const;
26  int getYear() const;
27 
28  //setters
29  void setMonth(int newMonth);
30  void setYear(int newYear);
31  void setDay(int newDay);
32 
33 
34 };
35 
36 #endif