Enum Month
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
-
Monthis an enum that represents the twelve months of the year. -
To access a specific month, use the syntax
Base.Month.[MONTH_NAME], for example,Base.Month.JANUARY. -
Each month is represented by an
Enumproperty within theMonthenum, providing a standardized way to refer to specific months.
An enum representing the months of the year.
To call an enum, you call its parent class, name, and property. For example,
Base.Month.JANUARY.
Properties
| Property | Type | Description |
|---|---|---|
JANUARY | Enum | January (month 1). |
FEBRUARY | Enum | February (month 2). |
MARCH | Enum | March (month 3). |
APRIL | Enum | April (month 4). |
MAY | Enum | May (month 5). |
JUNE | Enum | June (month 6). |
JULY | Enum | July (month 7). |
AUGUST | Enum | August (month 8). |
SEPTEMBER | Enum | September (month 9). |
OCTOBER | Enum | October (month 10). |
NOVEMBER | Enum | November (month 11). |
DECEMBER | Enum | December (month 12). |