Introduction - If you have any usage issues, please Google them yourself
The Chinese translation of Calendar is a calendar. In fact, there are many ways of timing in history. Therefore, in order to unify the timing, you must specify the choice of a calendar. Now the most popular and versatile calendar is "Gregorian Calendar"". That is, when we are talking about the year, it is often used in a.d.". Calendar is an abstract class (Abstract, Class) in Java, and GregorianCalendar is a concrete implementation of it. The instance obtained in Calendar.getInstance () is a "GreogrianCalendar" object.
Calendar common ways to get time