Enum Month
Stay organized with collections
Save and categorize content based on your preferences.
Month
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). |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eMonth\u003c/code\u003e is an enum that represents the twelve months of the year.\u003c/p\u003e\n"],["\u003cp\u003eTo access a specific month, use the syntax \u003ccode\u003eBase.Month.[MONTH_NAME]\u003c/code\u003e, for example, \u003ccode\u003eBase.Month.JANUARY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach month is represented by an \u003ccode\u003eEnum\u003c/code\u003e property within the \u003ccode\u003eMonth\u003c/code\u003e enum, providing a standardized way to refer to specific months.\u003c/p\u003e\n"]]],[],null,["# Enum Month\n\nMonth\n\nAn enum representing the months of the year.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nBase.Month.JANUARY`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|----------------------|\n| `JANUARY` | `Enum` | January (month 1). |\n| `FEBRUARY` | `Enum` | February (month 2). |\n| `MARCH` | `Enum` | March (month 3). |\n| `APRIL` | `Enum` | April (month 4). |\n| `MAY` | `Enum` | May (month 5). |\n| `JUNE` | `Enum` | June (month 6). |\n| `JULY` | `Enum` | July (month 7). |\n| `AUGUST` | `Enum` | August (month 8). |\n| `SEPTEMBER` | `Enum` | September (month 9). |\n| `OCTOBER` | `Enum` | October (month 10). |\n| `NOVEMBER` | `Enum` | November (month 11). |\n| `DECEMBER` | `Enum` | December (month 12). |"]]