What is Calendar class in Java?

What is Calendar class in Java?

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









Related Tutorials/Questions & Answers:
What is Calendar class in Java?
difference between java5 and java6 - Java Beginners
Advertisements
Java2
Gregorian calendar class
Javah
class Calendar - Java Beginners
about java1
What is an Abstract Class and what is it's purpose?
Javap Tool application
About Java2
What is Action Class?
What is an abstract class?
What is final class?
What is the Locale class?
what is the size of java class
Javah -  Header File Generator
javaa swings - IDE Questions
what is class methods in objective c
what is class methods in objective c
what's the purpose of constructor in abstract class?
What is a local, member and a class variable?
What is the base class of all classes?
javas - JSP-Servlet
javab - Java Beginners
What are the difference between abstract class and interface?
What does it mean that a class or member is final?
What are the different types of property and class mappings?
If I open .class file with notepad what is displayed?
Javac -source KeyTest.java
calendar
calendar
What is inner class in Java? - Java Beginners
Artifacts of javax
What happens to the static fields of a class during serialization?
what is the working of JVM when An object is created of a class?
What is nested class in Java with Example?
What is nested class in Java with Example?
Javah - Header File Generator
Javah - Header File Generator
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
please tell me what is ment by wrapper class in java........
What’s the difference between accessing a class method via -> and via ::?
What is the difference between a static and a non-static inner class?
What's the proper way to test a class with private methods using JUnit?
javac complier not found - JSP-Servlet
javax - JSP-Servlet
calendar - Date Calendar
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'

Ads