Example usage for Java java.time DayOfWeek fields, constructors, methods, implement or subclass
The text is from its open source code.
DayOfWeek | MONDAY The singleton instance for the day-of-week of Monday. |
DayOfWeek | TUESDAY The singleton instance for the day-of-week of Tuesday. |
DayOfWeek | WEDNESDAY The singleton instance for the day-of-week of Wednesday. |
DayOfWeek | THURSDAY The singleton instance for the day-of-week of Thursday. |
DayOfWeek | FRIDAY The singleton instance for the day-of-week of Friday. |
DayOfWeek | SATURDAY The singleton instance for the day-of-week of Saturday. |
DayOfWeek | SUNDAY The singleton instance for the day-of-week of Sunday. |
Temporal | adjustInto(Temporal temporal) Adjusts the specified temporal object to have this day-of-week. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
DayOfWeek | from(TemporalAccessor temporal) Obtains an instance of DayOfWeek from a temporal object. |
int | get(TemporalField field) Gets the value of the specified field from this day-of-week as an int . |
String | getDisplayName(TextStyle style, Locale locale) Gets the textual representation, such as 'Mon' or 'Friday'. |
long | getLong(TemporalField field) Gets the value of the specified field from this day-of-week as a long . |
int | getValue() Gets the day-of-week int value. |
boolean | isSupported(TemporalField field) Checks if the specified field is supported. |
DayOfWeek | minus(long days) Returns the day-of-week that is the specified number of days before this one. |
DayOfWeek | of(int dayOfWeek) Obtains an instance of DayOfWeek from an int value. |
DayOfWeek | plus(long days) Returns the day-of-week that is the specified number of days after this one. |
R | query(TemporalQuery Queries this day-of-week using the specified query. |
ValueRange | range(TemporalField field) Gets the range of valid values for the specified field. |