AddressBooks
Version 0.2
This is flexible sized address book
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
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
Generated on Fri Apr 25 2014 07:17:49 for AddressBooks by
1.8.2