Calendar objects can be created by using getInstance() or by using the constructor GregorianCalendar.
It's important to notice that months in Calendar are zero based, which means that JANUARY is represented by an int value 0. In order to provide a better code, always use Calendar constants, such as...