public static enum I_CmsSerialDateValue.WeekDay extends java.lang.Enum<I_CmsSerialDateValue.WeekDay>
| Enum Constant and Description |
|---|
FRIDAY
Friday
|
MONDAY
Monday
|
SATURDAY
Saturday
|
SUNDAY
Sunday
|
THURSDAY
Thursday
|
TUESDAY
Tuesday
|
WEDNESDAY
Wednesday
|
| Modifier and Type | Method and Description |
|---|---|
static I_CmsSerialDateValue.WeekDay |
fromInt(int i)
Conversion of integers to weekdays.
|
int |
toInt()
Object
Converts the
I_CmsSerialDateValue.WeekDay to it's corresponding number, i.e. it's ordinal plus 1. |
static I_CmsSerialDateValue.WeekDay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static I_CmsSerialDateValue.WeekDay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final I_CmsSerialDateValue.WeekDay SUNDAY
public static final I_CmsSerialDateValue.WeekDay MONDAY
public static final I_CmsSerialDateValue.WeekDay TUESDAY
public static final I_CmsSerialDateValue.WeekDay WEDNESDAY
public static final I_CmsSerialDateValue.WeekDay THURSDAY
public static final I_CmsSerialDateValue.WeekDay FRIDAY
public static final I_CmsSerialDateValue.WeekDay SATURDAY
public static I_CmsSerialDateValue.WeekDay[] values()
for (I_CmsSerialDateValue.WeekDay c : I_CmsSerialDateValue.WeekDay.values()) System.out.println(c);
public static I_CmsSerialDateValue.WeekDay 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 nullpublic static I_CmsSerialDateValue.WeekDay fromInt(int i)
Calendar.i - the number of the weekday (starting with 1 for Sunday)I_CmsSerialDateValue.WeekDay that corresponds to the given number.public int toInt()
I_CmsSerialDateValue.WeekDay to it's corresponding number, i.e. it's ordinal plus 1.
The numbers correspond to the numbers for weekdays used by Calendar.