Constructs a GregorianCalendar
with the given date set
in the default time zone with the default locale.
year | the value used to set the YEAR calendar field in the calendar. | |
month | the value used to set the MONTH calendar field in the calendar.
Month value is 0-based. e.g., 0 for January. | |
dayOfMonth | the value used to set the DAY_OF_MONTH calendar field in the calendar. |
Diagram: Calendar