- Category:
- JavaScript
- Tags:
-
[Java]
[源码]
- File Size:
- 14kb
- Update:
- 2013-08-31
- Downloads:
- 0 Times
- Uploaded by:
- 谭
Description: 1, the design of a time class MyDate: (date greater than 1900) a, including the year, month, day, hour, minute, second. Other members of the variables can be added according to need b, can get the time of year, month, day, hour, minute, seconds c, calculate dates dayOfWeek (week) d,// subtract an integer realization obtained after the date of new date (plus or minus the number of days) e, enter any one month, this month' s calendar output (by week format) f, enter any year, this year calendar output g, subtracting two times to achieve the number of hours, minutes, and seconds h, output time, requiring three formats: yyyy Year MM-dd hh hours mm minutes ss day second yyyy-MM-dd hh: mm: ss yyyyMMddhhmmss i, design three months constructor. 1, parameter constructor only date, hour minute second set to 0 2, completely argument constructor 3, if no argument constructor initializes to the system time,
To Search:
File list (Check if you may need any files):
mydate\.classpath
......\.project
......\.settings\org.eclipse.jdt.core.prefs
......\bin\MyDate.class
......\...\shiyan4.class
......\src\mydate.java
......\.settings
......\bin
......\src
mydate