Enum Month
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
月
表示一年中的月份的枚举。
若要调用枚举,您可以调用其父类、名称和属性。例如
Base.Month.JANUARY
。
属性
媒体资源 | 类型 | 说明 |
JANUARY | Enum | 1 月(第 1 个月)。 |
FEBRUARY | Enum | 2 月(第 2 个月)。 |
MARCH | Enum | 3 月(第 3 个月)。 |
APRIL | Enum | 4 月(第 4 个月)。 |
MAY | Enum | 5 月(第 5 个月)。 |
JUNE | Enum | 6 月(第 6 个月)。 |
JULY | Enum | 7 月(第 7 个月)。 |
AUGUST | Enum | 8 月(第 8 个月)。 |
SEPTEMBER | Enum | 9 月(第 9 个月)。 |
OCTOBER | Enum | 10 月(第 10 个月)。 |
NOVEMBER | Enum | 11 月(第 11 个月)。 |
DECEMBER | Enum | 12 月(第 12 个月)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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). |"]]