Enum Month
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."],[[["`Month` is 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 `Enum` property within the `Month` enum, providing a standardized way to refer to specific months."]]],[]]