12 lines
213 B
C++
12 lines
213 B
C++
class DateType
|
|
{
|
|
private:
|
|
int year;
|
|
int month;
|
|
int day;
|
|
public:
|
|
void Initialize(int newMonth, int newDay, int newYear);
|
|
int GetYear() const;
|
|
int GetMonth() const;
|
|
int GetDay() const;
|
|
}; |