+ 3

is their are any use of GregorianCalendar class while making desktop application?

i m learning java through a e-book of Tutorialspoint.com . in book their are GregorianCalendar class in date and time chapter with date&time class . i understand date&time class but i didn't understand GregorianCalendar class which was only for calendar. so is it necessary for developing a application?

14th Oct 2017, 12:57 PM
Gaurav Nagar
Gaurav Nagar - avatar
1 Resposta
+ 5
From: https://docs.oracle.com/javase/7/docs/api/java/util/GregorianCalendar.html "GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar system used by most of the world..." Do you need it? I don't know: depends on the program/application you're creating.
14th Oct 2017, 1:31 PM
seamiki
seamiki - avatar