public enum ZendriveDayOfWeek extends Enum<ZendriveDayOfWeek> implements ZendriveValueEnum
Enum Constant and Description |
---|
FRIDAY
Represents "Friday".
|
MONDAY
Represents "Monday".
|
SATURDAY
Represents "Saturday".
|
SUNDAY
Represents "Sunday".
|
THURSDAY
Represents "Thursday".
|
TUESDAY
Represents "Tuesday".
|
WEDNESDAY
Represents "Wednesday".
|
Modifier and Type | Method and Description |
---|---|
static ZendriveDayOfWeek |
fromValue(int value)
Use this to get the corresponding
ZendriveDayOfWeek enum from an integer value. |
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveDayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveDayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveDayOfWeek SUNDAY
public static final ZendriveDayOfWeek MONDAY
public static final ZendriveDayOfWeek TUESDAY
public static final ZendriveDayOfWeek WEDNESDAY
public static final ZendriveDayOfWeek THURSDAY
public static final ZendriveDayOfWeek FRIDAY
public static final ZendriveDayOfWeek SATURDAY
public static ZendriveDayOfWeek[] values()
for (ZendriveDayOfWeek c : ZendriveDayOfWeek.values()) System.out.println(c);
public static ZendriveDayOfWeek valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum
public static ZendriveDayOfWeek fromValue(int value)
ZendriveDayOfWeek
enum from an integer value.