|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.as.scheduler.RecurrenceFields.TIME_OF_DAY
public static class RecurrenceFields.TIME_OF_DAY
Defines the time of the day. The time of the day is defined in the format HH:MM:SS where
HH - represents the hour part of the time. Valid values are between 0 and 23. MM - represents the minute within the hour. Valid values are between 0 and 59. SS - represents the seconds within the minutes. Valid values are between 0 and 59.This class only supports the 24-hour clock. No public constructors are exposed by this clas. An instance should always be obtained via the
valueOf
method provided.
Field Summary | |
---|---|
static int |
MAX_HOUR_VALUE
Maximum possible value for Hour part (HH). |
static int |
MAX_MINUTE_VALUE
Maximum possible value for Minute part (MM). |
static int |
MAX_SECOND_VALUE
Maximum possible value for Second part (SS). |
Method Summary | |
---|---|
int |
getHour()
Method to get the hour part of this TIME_OF_DAY instance. |
int |
getMinute()
Method to get the minute part of this TIME_OF_DAY instance. |
int |
getSecond()
Method to get the second part of this TIME_OF_DAY instance. |
void |
setHour(int hour)
Method to set the hour part of this TIME_OF_DAY instance. |
void |
setMinute(int minute)
Method to set the minute part of this TIME_OF_DAY instance. |
void |
setSecond(int second)
Method to set the second part of this TIME_OF_DAY instance. |
java.lang.String |
toString()
Method to retrieve String representation of this TIME_OF_DAY. |
static RecurrenceFields.TIME_OF_DAY |
valueOf(int hour,
int minute,
int second)
Returns an instance of TIME_OF_DAY representing the time specified by given values for hour, minute, and second. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MAX_HOUR_VALUE
public static final int MAX_MINUTE_VALUE
public static final int MAX_SECOND_VALUE
Method Detail |
---|
public static RecurrenceFields.TIME_OF_DAY valueOf(int hour, int minute, int second) throws IllegalArgumentException
hour
- - the hour part of the time.minute
- - the minutes within the hour.second
- - the seconds within the minute.
IllegalArgumentException
- - thrown if hour, minute and second do not have legal values.public int getHour()
public void setHour(int hour) throws IllegalArgumentException
hour
- - the hour to be set. The value must be between 0 and 23.
IllegalArgumentException
- - thrown if the value specified is not a legal value.public int getMinute()
public void setMinute(int minute) throws IllegalArgumentException
minute
- - the minute to be set. The value must be between 0 and 59.
IllegalArgumentException
- - thrown if the value specified is not a legal value.public int getSecond()
public void setSecond(int second) throws IllegalArgumentException
second
- - the second to be set. The value must be between 0 and 59.
IllegalArgumentException
- - thrown if the value specified is not a legal value.public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |