Enum Weekday
Stay organized with collections
Save and categorize content based on your preferences.
Weekday
An enum representing the days of the week.
To call an enum, you call its parent class, name, and property. For example,
Base.Weekday.SUNDAY
.
Properties
Property | Type | Description |
SUNDAY | Enum | Sunday. |
MONDAY | Enum | Monday. |
TUESDAY | Enum | Tuesday. |
WEDNESDAY | Enum | Wednesday. |
THURSDAY | Enum | Thursday. |
FRIDAY | Enum | Friday. |
SATURDAY | Enum | Saturday. |
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\u003eWeekday\u003c/code\u003e is an enum that represents the seven days of the week.\u003c/p\u003e\n"],["\u003cp\u003eTo access a specific day, use the syntax \u003ccode\u003eBase.Weekday.[DAY]\u003c/code\u003e, replacing \u003ccode\u003e[DAY]\u003c/code\u003e with the desired day (e.g., \u003ccode\u003eBase.Weekday.MONDAY\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eEach day of the week is represented by a corresponding property within the \u003ccode\u003eWeekday\u003c/code\u003e enum.\u003c/p\u003e\n"]]],[],null,["# Enum Weekday\n\nWeekday\n\nAn enum representing the days of the week.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nBase.Weekday.SUNDAY`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|-------------|\n| `SUNDAY` | `Enum` | Sunday. |\n| `MONDAY` | `Enum` | Monday. |\n| `TUESDAY` | `Enum` | Tuesday. |\n| `WEDNESDAY` | `Enum` | Wednesday. |\n| `THURSDAY` | `Enum` | Thursday. |\n| `FRIDAY` | `Enum` | Friday. |\n| `SATURDAY` | `Enum` | Saturday. |"]]