|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EnumDayOfWeek>
org.opends.server.authorization.dseecompat.EnumDayOfWeek
public enum EnumDayOfWeek
This class provides an enumeration of the allowed dayofweek types.
Enum Constant Summary | |
---|---|
DAY_FRIDAY
The enumeration type when the bind rule has specified dayofweek type of "fri". |
|
DAY_MONDAY
The enumeration type when the bind rule has specified dayofweek type of "mon". |
|
DAY_SATURDAY
The enumeration type when the bind rule has specified dayofweek type of "sat". |
|
DAY_SUNDAY
The enumeration type when the bind rule has specified dayofweek type of "sun". |
|
DAY_THURSDAY
The enumeration type when the bind rule has specified dayofweek type of "thu". |
|
DAY_TUESDAY
The enumeration type when the bind rule has specified dayofweek type of "tue" . |
|
DAY_WEDNESDAY
The enumeration type when the bind rule has specified dayofweek type of "wed". |
Method Summary | |
---|---|
static EnumDayOfWeek |
createDayOfWeek(java.lang.String day)
Create a new enumeration type for the specified dayofweek type name. |
static EnumDayOfWeek |
getDayOfWeek(int day)
Return a enumeration relating to a Calendar day of week field. |
boolean |
isDayOfWeek(java.lang.String day)
Creates a new enumeration type for the specified bind rule dayofweek type. |
static EnumDayOfWeek |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumDayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final EnumDayOfWeek DAY_MONDAY
public static final EnumDayOfWeek DAY_TUESDAY
public static final EnumDayOfWeek DAY_WEDNESDAY
public static final EnumDayOfWeek DAY_THURSDAY
public static final EnumDayOfWeek DAY_FRIDAY
public static final EnumDayOfWeek DAY_SATURDAY
public static final EnumDayOfWeek DAY_SUNDAY
Method Detail |
---|
public static EnumDayOfWeek[] values()
for (EnumDayOfWeek c : EnumDayOfWeek.values()) System.out.println(c);
public static EnumDayOfWeek 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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isDayOfWeek(java.lang.String day)
day
- The boolean type name.
public static EnumDayOfWeek createDayOfWeek(java.lang.String day)
day
- The name of the enumeration to create.
public static EnumDayOfWeek getDayOfWeek(int day)
day
- The day of week index to get.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |