top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the GregorianCalendar class in Java Programming?

+2 votes
265 views
What is the GregorianCalendar class in Java Programming?
posted Mar 11, 2016 by Vijay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

GregorianCalendar is the class which provides you all the attributes of date and time, if you want to show the current time in your program or application you can perform many calculations on date and time.

Check the following link to get examples, methods of GregorianCalender. https://docs.oracle.com/javase/7/docs/api/java/util/GregorianCalendar.html

Vote up, if you find it helpful.

answer Mar 12, 2016 by Manoj Yadav
...