int CalculateDays(int ys, int ms, int ds, int ye, int me, int de) { int days = CalcYearRestDays(ys, ms, ds); if(ys != ye) /*不是同一年的日期*/ { ) /*间隔超过一年,要计算间隔的整年时间*/ { days += CalcYearsDays(ys + , ye); } days += CalcYearPassedDays(ye, me, de); } else { da…