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. |
The Date constructor creates today's date:
|
In Java 1.1, most Date methods have been deprecated in favor of the Calendar class:
|