|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.rules.rl.extensions.XMLDate
public class XMLDate
| Constructor Summary | |
|---|---|
XMLDate() |
|
| Method Summary | |
|---|---|
static javax.xml.datatype.XMLGregorianCalendar |
addDaysTo(javax.xml.datatype.XMLGregorianCalendar date, int days)Returns a new XMLGregorianCalendar that is the result of adding the specified number of days to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addDurationTo(javax.xml.datatype.XMLGregorianCalendar date, javax.xml.datatype.Duration duration)Returns a new XMLGregorianCalendar that is the result of adding the specified duration to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addHoursTo(javax.xml.datatype.XMLGregorianCalendar date, long hours)Returns a new XMLGregorianCalendar that is the result of adding the specified number of hours to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addMillisecondsTo(javax.xml.datatype.XMLGregorianCalendar date, long milliseconds)Returns a new XMLGregorianCalendar that is the result of adding the specified number of milliseconds to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addMinutesTo(javax.xml.datatype.XMLGregorianCalendar date, long minutes)Returns a new XMLGregorianCalendar that is the result of adding the specified number of minutes to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addMonthsTo(javax.xml.datatype.XMLGregorianCalendar date, int months)Returns a new XMLGregorianCalendar that is the result of adding the specified number of months to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addSecondsTo(javax.xml.datatype.XMLGregorianCalendar date, long seconds)Returns a new XMLGregorianCalendar that is the result of adding the specified number of seconds to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addWeeksTo(javax.xml.datatype.XMLGregorianCalendar date, int weeks)Returns a new XMLGregorianCalendar that is the result of adding the specified number of weeks to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
addYearsTo(javax.xml.datatype.XMLGregorianCalendar date, int years)Returns a new XMLGregorianCalendar that is the result of adding the specified number of years to the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
fromString(java.lang.String iso8601String)Creates an XMLGregorianCalendar instance from specified ISO 8601 date, datetime or time. |
static java.math.BigDecimal |
getSeconds(javax.xml.datatype.XMLGregorianCalendar dateTime)Get the seconds from the date/time as a BigDecimal. |
static javax.xml.datatype.Duration |
getTimezone(javax.xml.datatype.XMLGregorianCalendar dateTime)Get the timezone from the dateTime as a duration. |
static boolean |
isDate(javax.xml.datatype.XMLGregorianCalendar date)is the date a date? |
static boolean |
isDateTime(javax.xml.datatype.XMLGregorianCalendar date)is the date a dateTime? |
static boolean |
isDateTimeStamp(javax.xml.datatype.XMLGregorianCalendar date)is the date a dateTimeStamp? |
static boolean |
isTime(javax.xml.datatype.XMLGregorianCalendar date)is the date a time? |
static javax.xml.datatype.XMLGregorianCalendar |
subtractDaysFrom(javax.xml.datatype.XMLGregorianCalendar date, int days)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of days from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractDurationFrom(javax.xml.datatype.XMLGregorianCalendar date, javax.xml.datatype.Duration duration)Returns a new XMLGregorianCalendar that is the result of subtracting the specified duration from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractHoursFrom(javax.xml.datatype.XMLGregorianCalendar date, long hours)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of hours from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractMillisecondsFrom(javax.xml.datatype.XMLGregorianCalendar date, long milliseconds)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of milliseconds from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractMinutesFrom(javax.xml.datatype.XMLGregorianCalendar date, long minutes)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of minutes from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractMonthsFrom(javax.xml.datatype.XMLGregorianCalendar date, int months)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of months from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractSecondsFrom(javax.xml.datatype.XMLGregorianCalendar date, long seconds)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of seconds from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractWeeksFrom(javax.xml.datatype.XMLGregorianCalendar date, int weeks)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of weeks from the specified XMLGregorianCalendar. |
static javax.xml.datatype.XMLGregorianCalendar |
subtractYearsFrom(javax.xml.datatype.XMLGregorianCalendar date, int years)Returns a new XMLGregorianCalendar that is the result of subtracting the specified number of years from the specified XMLGregorianCalendar. |
static java.lang.String |
toString(javax.xml.datatype.XMLGregorianCalendar date)Return the ISO 8601 representation of the specified XMLGregorianCalendar. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDate()
| Method Detail |
|---|
public static javax.xml.datatype.XMLGregorianCalendar addYearsTo(javax.xml.datatype.XMLGregorianCalendar date,
int years)
date -years -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addDurationTo(javax.xml.datatype.XMLGregorianCalendar date,
javax.xml.datatype.Duration duration)
date -duration -java.lang.NullPointerException - if either parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addMonthsTo(javax.xml.datatype.XMLGregorianCalendar date,
int months)
date -months -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addWeeksTo(javax.xml.datatype.XMLGregorianCalendar date,
int weeks)
date -weeks -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addDaysTo(javax.xml.datatype.XMLGregorianCalendar date,
int days)
date -days -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addHoursTo(javax.xml.datatype.XMLGregorianCalendar date,
long hours)
date -hours -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addMinutesTo(javax.xml.datatype.XMLGregorianCalendar date,
long minutes)
date -minutes -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addSecondsTo(javax.xml.datatype.XMLGregorianCalendar date,
long seconds)
date -seconds -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar addMillisecondsTo(javax.xml.datatype.XMLGregorianCalendar date,
long milliseconds)
date -milliseconds -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractYearsFrom(javax.xml.datatype.XMLGregorianCalendar date,
int years)
date -years -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractDurationFrom(javax.xml.datatype.XMLGregorianCalendar date,
javax.xml.datatype.Duration duration)
date -duration -java.lang.NullPointerException - if either parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractMonthsFrom(javax.xml.datatype.XMLGregorianCalendar date,
int months)
date -months -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractWeeksFrom(javax.xml.datatype.XMLGregorianCalendar date,
int weeks)
date -weeks -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractDaysFrom(javax.xml.datatype.XMLGregorianCalendar date,
int days)
date -days -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractHoursFrom(javax.xml.datatype.XMLGregorianCalendar date,
long hours)
date -hours -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractMinutesFrom(javax.xml.datatype.XMLGregorianCalendar date,
long minutes)
date -minutes -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractSecondsFrom(javax.xml.datatype.XMLGregorianCalendar date,
long seconds)
date -seconds -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar subtractMillisecondsFrom(javax.xml.datatype.XMLGregorianCalendar date,
long milliseconds)
date -milliseconds -java.lang.NullPointerException - if the date parameter is null.
public static javax.xml.datatype.XMLGregorianCalendar fromString(java.lang.String iso8601String)
throws java.lang.IllegalArgumentException
iso8601String - the ISO 8601 representationjava.lang.IllegalArgumentException - if an error occurs parsing the date string.public static java.lang.String toString(javax.xml.datatype.XMLGregorianCalendar date)
date - the date to format.public static boolean isDateTime(javax.xml.datatype.XMLGregorianCalendar date)
date -public static boolean isDate(javax.xml.datatype.XMLGregorianCalendar date)
date -public static boolean isTime(javax.xml.datatype.XMLGregorianCalendar date)
date -public static boolean isDateTimeStamp(javax.xml.datatype.XMLGregorianCalendar date)
date -public static javax.xml.datatype.Duration getTimezone(javax.xml.datatype.XMLGregorianCalendar dateTime)
dateTime -public static java.math.BigDecimal getSeconds(javax.xml.datatype.XMLGregorianCalendar dateTime)
dateTime -
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||