Package com.smartsheet.api.models.enums
Enum DayDescriptor
- java.lang.Object
-
- java.lang.Enum<DayDescriptor>
-
- com.smartsheet.api.models.enums.DayDescriptor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DayDescriptor>
public enum DayDescriptor extends java.lang.Enum<DayDescriptor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY
Represents DAY descriptor type.FRIDAY
Represents FRIDAY descriptor type.MONDAY
Represents MONDAY descriptor type.SATURDAY
Represents SATURDAY descriptor type.SUNDAY
Represents SUNDAY descriptor type.THURSDAY
Represents THURSDAY descriptor type.TUESDAY
Represents TUESDAY descriptor type.WEDNESDAY
Represents WEDNESDAY descriptor type.WEEKDAY
Represents WEEKDAY descriptor type.WEEKEND
Represents WEEKEND descriptor type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DayDescriptor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DayDescriptor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY
public static final DayDescriptor DAY
Represents DAY descriptor type.
-
WEEKDAY
public static final DayDescriptor WEEKDAY
Represents WEEKDAY descriptor type.
-
WEEKEND
public static final DayDescriptor WEEKEND
Represents WEEKEND descriptor type.
-
SUNDAY
public static final DayDescriptor SUNDAY
Represents SUNDAY descriptor type.
-
MONDAY
public static final DayDescriptor MONDAY
Represents MONDAY descriptor type.
-
TUESDAY
public static final DayDescriptor TUESDAY
Represents TUESDAY descriptor type.
-
WEDNESDAY
public static final DayDescriptor WEDNESDAY
Represents WEDNESDAY descriptor type.
-
THURSDAY
public static final DayDescriptor THURSDAY
Represents THURSDAY descriptor type.
-
FRIDAY
public static final DayDescriptor FRIDAY
Represents FRIDAY descriptor type.
-
SATURDAY
public static final DayDescriptor SATURDAY
Represents SATURDAY descriptor type.
-
-
Method Detail
-
values
public static DayDescriptor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DayDescriptor c : DayDescriptor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DayDescriptor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-