#include <iostream> using namespace std; class Date { public: Date(int year,int dayofYear) :_year(year) //初始化列表 ,_dayofYear(dayofYear) {} void PrintDate() { int arr[] = {0,31,(isleapYear() ? 29:28),31,30,31,30,31,31,30,31,30,31}; //闰年day+1 ...