#include<iostream>
//#include<iomanip>
//#include<cmath>
using namespace std;
class Date
{
    int year,month,day;
public:
    Date(int y,int m,int d)
    {
        year=y;
        month=m;
        day=d;
    }
    Date(){ }
    void  GetDate()
    {
        cout<<"“"<<year<<"年"<<month<<"月"<<day<<"日"<<"“"<<endl;
    }
    void SetDate(int y,int m,int d)
    {
        year=y;
        month=m;
        day=d;
    }
    Date(Date &obj)
    {
        year=obj.year;
        month=obj.month;
        day=obj.day;
    }
};
void main()
{
    Date d1(2001,5,8);
    d1.GetDate();
    Date d2;
    Date d3(d1);
    d3.GetDate();
}