O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Date and Calendar-Related Classes

Another major set of classes supported by the java.util package is the classes for working with dates and calendars. The original JDK 1.0 provided the Date class to encapsulate date and time as an object. In JDK 1.1, many of the functions of the Date class were deprecated in favor of more international handling of date and time. The Calendar, GregorianCalendar, SimpleTimeZone, and TimeZone classes were added to provide more comprehensive and international support of date and time. The DateFormat class of the java.text package was also added to support international date formatting. JDK 1.3 added the Timer and TimerTask classes, which provide the capability to execute background tasks under the control of a timer. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required