|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Date
oracle.adfnmc.java.sql.BaseTime
public class BaseTime
Constructor Summary | |
---|---|
BaseTime(long theTime)
Constructs a Time object using a supplied time specified in milliseconds |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object another)
Answers an integer indicating the relative positions of the receiver and the argument in the natural order of elements of the receiver's class. |
void |
setTime(long time)
Sets the time for this Time object to the supplied milliseconds value. |
java.lang.String |
toString()
Formats the Time as a String in JDBC escape format: hh:mm:ss |
static BaseTime |
valueOfInternal(java.lang.String timeString)
Creates a Time object from a String holding a time represented in JDBC escape format: hh:mm:ss. |
Methods inherited from class java.util.Date |
---|
equals, getTime, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseTime(long theTime)
theTime
- a Time specified in milliseconds since the Epoch (January 1st 1970, 00:00:00.000)Method Detail |
---|
public void setTime(long time)
setTime
in class java.util.Date
time
- A time value expressed as milliseconds since the Epoch. Negative values are milliseconds before the Epoch.
The Epoch is January 1 1970, 00:00:00.000public java.lang.String toString()
toString
in class java.util.Date
public static BaseTime valueOfInternal(java.lang.String timeString)
An exception occurs if the input string is not in the form of a time in JDBC escape format.
timeString
- A String representing the time value in JDBC escape format: hh:mm:ss
java.lang.IllegalArgumentException
- if the supplied time string is not in JDBC escape format.public int compareTo(java.lang.Object another)
Comparable
compareTo
in interface Comparable
another
- Object an object to compare the receiver to
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |