What is Calendar class in Java?

Ads
Ads

What is Calendar class in Java?


Java Coder
What is Calendar class in Java?
1 Answer(s)      a year and a month ago
Posted in : Java Beginners
Ads

Hi,

What is Calendar class in Java? I want to learn about this class to make use of it in Java programs.

Thanks

View Answers

April 16, 2017 at 10:30 PM


Hi, java.util.Calendar is an abstract class in Java and its static method Calendar.getInstance() returns an instance of java.util.GregorianCalendar.

This class is used for various date processing activities in Java.

You can find tutorials at Calendar tutorial page.

Thanks


Ads