#include<iostream> using namespace std; class Date { public: // 获取某年某月的天数 int GetMonthDay(int year, int month) { int arr[13] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; //闰年29天 if (arr[month] == 28 && ((year % 4 == 0 &&...