public static enum DayOfWeek.Name extends Enum<DayOfWeek.Name> implements BmcEnum
Name of the day of the week.
Enum Constant and Description |
---|
Friday |
Monday |
Saturday |
Sunday |
Thursday |
Tuesday |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Wednesday |
Modifier and Type | Method and Description |
---|---|
static DayOfWeek.Name |
create(String key) |
String |
getValue() |
static DayOfWeek.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeek.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeek.Name Monday
public static final DayOfWeek.Name Tuesday
public static final DayOfWeek.Name Wednesday
public static final DayOfWeek.Name Thursday
public static final DayOfWeek.Name Friday
public static final DayOfWeek.Name Saturday
public static final DayOfWeek.Name Sunday
public static final DayOfWeek.Name UnknownEnumValue
public static DayOfWeek.Name[] values()
for (DayOfWeek.Name c : DayOfWeek.Name.values()) System.out.println(c);
public static DayOfWeek.Name 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 static DayOfWeek.Name create(String key)
Copyright © 2016–2024. All rights reserved.