public enum EnumDayOfWeek extends Enum<EnumDayOfWeek>
Enum Constant and Description |
---|
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".
|
Modifier and Type | Method and Description |
---|---|
static EnumDayOfWeek |
createDayOfWeek(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(String day)
Creates a new enumeration type for the specified bind rule dayofweek
type.
|
static EnumDayOfWeek |
valueOf(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.
|
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
public static EnumDayOfWeek[] values()
for (EnumDayOfWeek c : EnumDayOfWeek.values()) System.out.println(c);
public static EnumDayOfWeek 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 boolean isDayOfWeek(String day)
day
- The boolean type name.public static EnumDayOfWeek createDayOfWeek(String day)
day
- The name of the enumeration to create.public static EnumDayOfWeek getDayOfWeek(int day)
day
- The day of week index to get.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.