public enum DayOfWeekFormat extends java.lang.Enum<DayOfWeekFormat>
| Enum Constant and Description |
|---|
Abbreviated
The first three letters of the day of the week are displayed.
|
Full
The complete name of the day of the week is displayed.
|
SingleLetter
Only the first letter of the name of the day is displayed.
|
| Modifier and Type | Method and Description |
|---|---|
static DayOfWeekFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeekFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeekFormat SingleLetter
public static final DayOfWeekFormat Abbreviated
public static final DayOfWeekFormat Full
public static DayOfWeekFormat[] values()
for (DayOfWeekFormat c : DayOfWeekFormat.values()) System.out.println(c);
public static DayOfWeekFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null