public final class Weekday
extends java.lang.Object
implements java.io.Serializable
CmTimeslot
object.
The Weekday property specifies the day of the week that the audit disposition thread will run,
as defined in a CmAuditingConfiguration
object.Modifier and Type | Field and Description |
---|---|
static Weekday |
FRIDAY
Indicates Friday.
|
static int |
FRIDAY_AS_INT
An
int value associated with the FRIDAY instance of this class. |
static Weekday |
MONDAY
Indicates Monday.
|
static int |
MONDAY_AS_INT
An
int value associated with the MONDAY instance of this class. |
static Weekday |
SATURDAY
Indicates Saturday.
|
static int |
SATURDAY_AS_INT
An
int value associated with the SATURDAY instance of this class. |
static Weekday |
SUNDAY
Indicates Sunday.
|
static int |
SUNDAY_AS_INT
An
int value associated with the SUNDAY instance of this class. |
static Weekday |
THURSDAY
Indicates Thursday.
|
static int |
THURSDAY_AS_INT
An
int value associated with the THURSDAY instance of this class. |
static Weekday |
TUESDAY
Indicates Tuesday.
|
static int |
TUESDAY_AS_INT
An
int value associated with the TUESDAY instance of this class. |
static Weekday |
WEDNESDAY
Indicates Wednesday.
|
static int |
WEDNESDAY_AS_INT
An
int value associated with the WEDNESDAY instance of this class. |
Modifier and Type | Method and Description |
---|---|
static Weekday |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.
|
int |
getValue()
Returns the internal integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this enumeration instance. |
public static final int MONDAY_AS_INT
int
value associated with the MONDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday MONDAY
public static final int SUNDAY_AS_INT
int
value associated with the SUNDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday SUNDAY
public static final int WEDNESDAY_AS_INT
int
value associated with the WEDNESDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday WEDNESDAY
public static final int THURSDAY_AS_INT
int
value associated with the THURSDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday THURSDAY
public static final int SATURDAY_AS_INT
int
value associated with the SATURDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday SATURDAY
public static final int TUESDAY_AS_INT
int
value associated with the TUESDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday TUESDAY
public static final int FRIDAY_AS_INT
int
value associated with the FRIDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final Weekday FRIDAY
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.toString
in class java.lang.Object
public static Weekday getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
© Copyright IBM Corporation 2006, 2015. All rights reserved.