Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Java Technology : Education - online courses
J2ME: Step by step
Download tutorial zip fileView letter-sized PDF fileView A4-sized PDF fileE-mail this tutorial to a friend
Main menuSection menuGive feedback on this tutorialPreviousNext
7. CLDC API
  


java.util -- other classes page 9 of 11


The remaining java.util classes supported by CLDC include date and time classes and the Random utility class. These are summarized in the following table.

  • Calendar -- An abstract class for getting and setting dates using a set of integer fields such as YEAR, MONTH, DAY, and so on.

  • Date -- Represents a specific date and time, with millisecond precision.

  • Random -- Utility class used to generate a stream of random int or long values.

  • TimeZone -- Represents a time zone offset, and also handles daylight savings adjustments.

Main menuSection menuGive feedback on this tutorialPreviousNext
PrivacyLegalContact