Java’s calendar class stores information about a moment in time. The class can be used to compare with different times, to manipulate information about one time or to ascertain the current time. Creating and manipulating the calendar class is relatively straightforward. The programmer needs to import only one file from the java.util package. A calendar object can be local or global within a program and is easily initialized to the current time. Writer Bio

How to Create a Calendar in Java  4 Steps  - 57