Returns an integer constant indicating the day of the week for the current model date. Possible return values are:
SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
Days of the week are numbered from SUNDAY (1) to SATURDAY (7).
| Type | Description |
|---|---|
| int |
An integer constant representing the day of the week for the current model date. |
Returns an integer constant indicating the day of the week for the specified date. Possible return values are:
SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
Days of the week are numbered from SUNDAY (1) to SATURDAY (7).
| Name | Type of value | Description |
|---|---|---|
| date | java.util.Date | A date, presented in the form of the Date Java class. |
| Type | Description |
|---|---|
| int |
An integer constant representing the day of the week for the specified date. |
-
How can we improve this article?
-