com.tibco.bpm.web.client.model.types
Enum WorkingDay.DayofWeek
java.lang.Object
java.lang.Enum<WorkingDay.DayofWeek>
com.tibco.bpm.web.client.model.types.WorkingDay.DayofWeek
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WorkingDay.DayofWeek>
- Enclosing class:
- WorkingDay
public static enum WorkingDay.DayofWeek
- extends java.lang.Enum<WorkingDay.DayofWeek>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SUN
public static final WorkingDay.DayofWeek SUN
MON
public static final WorkingDay.DayofWeek MON
TUE
public static final WorkingDay.DayofWeek TUE
WED
public static final WorkingDay.DayofWeek WED
THU
public static final WorkingDay.DayofWeek THU
FRI
public static final WorkingDay.DayofWeek FRI
SAT
public static final WorkingDay.DayofWeek SAT
values
public static WorkingDay.DayofWeek[] 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 (WorkingDay.DayofWeek c : WorkingDay.DayofWeek.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WorkingDay.DayofWeek 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 name
java.lang.NullPointerException
- if the argument is null
getDesc
public java.lang.String getDesc()
getCode
public int getCode()
valueOf
public static WorkingDay.DayofWeek valueOf(int code)
Copyright © 2015 Cloud Software Group, Inc. All Rights Reserved.