1 | This class provides an implementation of "date" structures. Date has methods to create and compare dates, obtain and set the time, and convert dates to strings. |
2 |
The Date constructor creates today's date:
|
3 |
In Java 1.1, most Date methods have been deprecated in favor of the Calendar class:
|