Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


oracle.as.scheduler
Enum RecurrenceFields.WEEK_OF_MONTH

java.lang.Object
  extended by java.lang.Enum<RecurrenceFields.WEEK_OF_MONTH>
      extended by oracle.as.scheduler.RecurrenceFields.WEEK_OF_MONTH

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RecurrenceFields.WEEK_OF_MONTH>
Enclosing class:
RecurrenceFields

public static enum RecurrenceFields.WEEK_OF_MONTH
extends java.lang.Enum<RecurrenceFields.WEEK_OF_MONTH>

Enumerations for the week of a month.

The validity of the week number for a given month depends upon the month. For example February does not have a 5th week.


Enum Constant Summary
FIFTH
          Enumeration constant indicating fifth week of a month.
FIRST
          Enumeration constant indicating first week of a month.
FOURTH
          Enumeration constant indicating fourth week of a month.
LAST
          Enumeration constant indicating last week of a month.
SECOND
          Enumeration constant indicating second week of a month.
SIXTH
          Enumeration constant indicating sixth week of a month.
THIRD
          Enumeration constant indicating third week of a month.

 

Method Summary
 java.lang.String toString(java.util.Locale locale)
           
 int value()
          Returns the integer representation of this enum constant.
static RecurrenceFields.WEEK_OF_MONTH valueOf(int value)
          Method to retrieve the WEEK_OF_MONTH corresponding to a given integer value.
static RecurrenceFields.WEEK_OF_MONTH valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecurrenceFields.WEEK_OF_MONTH[] 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

FIRST

public static final RecurrenceFields.WEEK_OF_MONTH FIRST
Enumeration constant indicating first week of a month.

SECOND

public static final RecurrenceFields.WEEK_OF_MONTH SECOND
Enumeration constant indicating second week of a month.

THIRD

public static final RecurrenceFields.WEEK_OF_MONTH THIRD
Enumeration constant indicating third week of a month.

FOURTH

public static final RecurrenceFields.WEEK_OF_MONTH FOURTH
Enumeration constant indicating fourth week of a month.

FIFTH

public static final RecurrenceFields.WEEK_OF_MONTH FIFTH
Enumeration constant indicating fifth week of a month. Note that this may not be a valid week number for certain months.

SIXTH

public static final RecurrenceFields.WEEK_OF_MONTH SIXTH
Enumeration constant indicating sixth week of a month. Note that this may not be a valid week number for certain months.

LAST

public static final RecurrenceFields.WEEK_OF_MONTH LAST
Enumeration constant indicating last week of a month.

This enumeration can be used to indicate the last week irrespective of the absolute number for the week in a given month.

Method Detail

values

public static RecurrenceFields.WEEK_OF_MONTH[] 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 (RecurrenceFields.WEEK_OF_MONTH c : RecurrenceFields.WEEK_OF_MONTH.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RecurrenceFields.WEEK_OF_MONTH 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:
IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()
Returns the integer representation of this enum constant.
Returns:
- an integer representing this enum constant.

valueOf

public static RecurrenceFields.WEEK_OF_MONTH valueOf(int value)
                                              throws IllegalArgumentException
Method to retrieve the WEEK_OF_MONTH corresponding to a given integer value.
Parameters:
value - - the value to be converted into WEEK_OF_MONTH.
Returns:
- WEEK_OF_MONTH enum constant corresponding to the value.
Throws:
IllegalArgumentException - - If no enum constant is defined for the given value.

toString

public java.lang.String toString(java.util.Locale locale)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


Copyright © 2008, 2012 Oracle. All rights reserved.