文件名称:Date
介绍说明--下载内容均来自于网络,请自行研究使用
类的设计:设计一个表示日期的Date类,使之满足如下要求:
1)默认时日期为“2000-01-01”
2)用类似“2009-06-06”的格式输出日期。
3)可以设置日期。
4)判断该日期所代表的年份是否闰年。
-The class design: the design of a represents the date of the Date class, so as to meet the following requirements:
1) the default date for 2000-01-01
2) use a similar 2009-06-06 format output date.
3) you can set the date.
4) determine the date represented by the year whether or not a leap year.
1)默认时日期为“2000-01-01”
2)用类似“2009-06-06”的格式输出日期。
3)可以设置日期。
4)判断该日期所代表的年份是否闰年。
-The class design: the design of a represents the date of the Date class, so as to meet the following requirements:
1) the default date for 2000-01-01
2) use a similar 2009-06-06 format output date.
3) you can set the date.
4) determine the date represented by the year whether or not a leap year.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Date.cpp