|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.rules.rl.extensions.SQLDate
public class SQLDate
| Constructor Summary | |
|---|---|
SQLDate() |
|
| Method Summary | |
|---|---|
static java.sql.Date |
dateFromDateString(java.lang.String dateString)Creates a Date instance for the specified ISO 8601 date. |
static java.sql.Date |
dateFromDateTimeString(java.lang.String datetimeString)Creates a Date instance for the specified ISO 8601 date and time. |
static java.sql.Date |
dateFromTimeString(java.lang.String timeString)Creates a Date instance for the specified ISO 8601 time. |
static java.sql.Timestamp |
timestampFromDateTimeString(java.lang.String datetimeString)Creates a Timestamp instance for the specified ISO 8601 date and time. |
static java.lang.String |
toDateString(java.sql.Date date)Return the ISO 8601 representation of the specified Date. |
static java.lang.String |
toDateTimeString(java.sql.Date date)Return the ISO 8601 representation of the specified Date. |
static java.lang.String |
toDateTimeString(java.sql.Timestamp ts)Return the ISO 8601 representation of the specified date and time. |
static java.lang.String |
toTimeString(java.sql.Date date)Return the ISO 8601 representation of the specified Date. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLDate()
| Method Detail |
|---|
public static java.sql.Date dateFromDateString(java.lang.String dateString)
throws java.lang.IllegalArgumentException
dateString - the ISO 8601 representation of a date.java.lang.IllegalArgumentException - if an error occurs parsing the date string.
public static java.sql.Date dateFromTimeString(java.lang.String timeString)
throws java.lang.IllegalArgumentException
timeString - the ISO 8601 representation of a point in time.java.lang.IllegalArgumentException - if an error occurs parsing the date string.
public static java.sql.Date dateFromDateTimeString(java.lang.String datetimeString)
throws java.lang.IllegalArgumentException
datetimeString - the ISO 8601 representation of a date and time.java.lang.IllegalArgumentException - if an error occurs parsing the date string.public static java.lang.String toTimeString(java.sql.Date date)
date - the date/time to format.public static java.lang.String toDateString(java.sql.Date date)
date - the date/time to format.public static java.lang.String toDateTimeString(java.sql.Date date)
date - the date/time to format.
public static java.sql.Timestamp timestampFromDateTimeString(java.lang.String datetimeString)
throws java.lang.IllegalArgumentException
datetimeString - the ISO 8601 representation of a date and time.java.lang.IllegalArgumentException - if an error occurs parsing the date string.public static java.lang.String toDateTimeString(java.sql.Timestamp ts)
ts - the timestamp to format.
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||