Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler
Class RecurrenceFields.DAY_OF_MONTH

java.lang.Object
  extended by oracle.as.scheduler.RecurrenceFields.DAY_OF_MONTH

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RecurrenceFields

public static class RecurrenceFields.DAY_OF_MONTH
extends java.lang.Object
implements java.io.Serializable

Defines the day of a month.

In general the allowed values for the day of a month are 1 to 31 and -1. A value of -1 indicates the last day of the month. 0 is not a valid value. The validity of the values are month dependent such as a value of 30 is not valid for the month of February. DAY_OF_MONTH is a wrapper class on top of integer with required restrictions on the value of integer. An instance of this class should be obtained via the valueOf method provided.

See Also:
Serialized Form

Field Summary
static int MAX_VALUE
           
static int MIN_VALUE
           

 

Method Summary
 int value()
          Returns the value of this DAY_OF_MONTH as integer.
static RecurrenceFields.DAY_OF_MONTH valueOf(int value)
          Method to construct an instance of DAY_OF_MONTH with an integer.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

MAX_VALUE

public static final int MAX_VALUE
See Also:
Constant Field Values

MIN_VALUE

public static final int MIN_VALUE
See Also:
Constant Field Values

Method Detail

valueOf

public static RecurrenceFields.DAY_OF_MONTH valueOf(int value)
                                             throws IllegalArgumentException
Method to construct an instance of DAY_OF_MONTH with an integer.

The integer value passed in must be a valid integer allowed by the DAY_OF_MONTH. Allowed values are -1, and 1 to 31. The class does not expose any public constructors. An instance of the class should always be obtained via the valueOf method provided.

Parameters:
value - - the integer value to be converted to DAY_OF_MONTH.
Returns:
- an instance of DAY_OF_MONTH representing the day specified by the value.
Throws:
IllegalArgumentException - - if the value is not a valid integer.

value

public int value()
Returns the value of this DAY_OF_MONTH as integer.
Returns:
- the value of this DAY_OF_MONTH.

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.