Skip to main content

MonthOfYear

Month values for the Gregorian calendar year. Numeric codes accompany the values to match the ISO 8601 standard where January is 1 and December is 12.

enum MonthOfYear {
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
DECEMBER
}

Values​

MonthOfYear.JANUARY​

January (month 1).

MonthOfYear.FEBRUARY​

February (month 2).

MonthOfYear.MARCH​

March (month 3).

MonthOfYear.APRIL​

April (month 4).

MonthOfYear.MAY​

May (month 5).

MonthOfYear.JUNE​

June (month 6).

MonthOfYear.JULY​

July (month 7).

MonthOfYear.AUGUST​

August (month 8).

MonthOfYear.SEPTEMBER​

September (month 9).

MonthOfYear.OCTOBER​

October (month 10).

MonthOfYear.NOVEMBER​

November (month 11).

MonthOfYear.DECEMBER​

December (month 12).