计算两个时间的差

//获取公历年的天数 int year_alldays(int year) { if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) return 366; else return 365; } //获取公历年初至某整月的天数 int year_sumday(int year, int month) { int su
相关文章
相关标签/搜索