Enum Weekday
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."],[[["`Weekday` is an enum that represents the seven days of the week."],["To access a specific day, use the syntax `Base.Weekday.[DAY]`, replacing `[DAY]` with the desired day (e.g., `Base.Weekday.MONDAY`)."],["Each day of the week is represented by a corresponding property within the `Weekday` enum."]]],[]]