|
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Date
oracle.adfnmc.java.sql.BaseDate
public class BaseDate
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
Constructor Summary | |
---|---|
BaseDate(long theDate)
|
Method Summary | |
---|---|
static int |
compare(java.util.Date d1,
java.util.Date d2)
|
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. |
static java.util.Date |
parseDate(java.lang.String input)
Parses the input string representing a date and returns a corresponding Date object. |
void |
setTime(long theTime)
Sets this date to a date supplied as a milliseconds value. |
java.lang.String |
toString()
Produces a string representation of the Date in SQL format |
static BaseDate |
valueOfInternal(java.lang.String dateString)
Creates a Date from a string representation of a date in SQL format. |
Methods inherited from class java.util.Date |
---|
equals, getTime, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
Constructor Detail |
---|
public BaseDate(long theDate)
Method Detail |
---|
public void setTime(long theTime)
setTime
in class java.util.Date
theTime
- the time in milliseconds since the Epochpublic java.lang.String toString()
toString
in class java.util.Date
public static BaseDate valueOfInternal(java.lang.String dateString)
dateString
- the string representation of a date in SQL format - "yyyy-mm-dd".
java.lang.IllegalArgumentException
- if the format of the supplied string does not match the SQL format.public static final java.util.Date parseDate(java.lang.String input) throws java.lang.IllegalArgumentException
input
- Expected to be in format "2007-11-09"
java.lang.IllegalArgumentException
public static final int compare(java.util.Date d1, java.util.Date d2)
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |