O'Reilly logo

Java™ ME Game Programming, Second Edition by Ph.D. Martin J. Wells, Ph.D. John P. Flynt

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

Calendar and Date

Before discussing the DateField class, it is helpful to review the Calendar class, which is derived from the Object class. The Calendar class is one of the two primary classes you employ as you work with programming activities involving time and date information. The other primary class in this respect is Date. Both of these classes are supplemented by the TimeZone class. The Calendar and Date classes provide fairly complex objects. For example, the Calendar class furnishes you with a calendar you can scroll through to find specific dates far into the past or future. When using the Calendar object, you can activate the day by positioning the cursor on it and then generate an event that you can process in any number of ways. ...

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