Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: java.util.Calendar

The java.util.Calendar class is used to represent the date and time.

Tutorial Details:

The java.util.Calendar class is used to represent the date and time. The year, month, day, hour, minute, second, and milliseconds can all be set or obtained from a Calendar object. The default Calendar object has the current time in it. There are also methods for making data calculations.

Other related classes: Date, and DateFormat, ...

To get the current time
The default Calendar constructor produces an object whose fields are set to the current time for the default timezone and locale.


 

Rate Tutorial:
http://www.roseindia.net/java/java-tips/other/10time/30calendar.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
java.util.Calendar

View Tutorial:
java.util.Calendar

Related Tutorials:

Java Tip 74: Build dynamically extensible frameworks - JavaWorld
Java Tip 74: Build dynamically extensible frameworks - JavaWorld
 
Axis-orizing objects for SOAP
Axis-orizing objects for SOAP
 
Nice widget
Nice widget
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.