|
Oracle® Calendar Web Services Java API Reference 10g Release 1 (10.1.2) B25488-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.calendar.soap.client.CalendarUtils
Provides some methods required for generating and processing Calendarlet methods.
| Constructor Summary | |
CalendarUtils()Default constructor; not used. |
|
| Method Summary | |
static BasicChallenge |
getBasicChallenge(java.util.Vector in_elements)Returns a BasicChallenge object with information from the SOAP header. |
static java.util.Calendar |
getCalendarFromUTC(java.lang.String in_utcTime)Converts a UTC time string to a Java Calendar object. |
static java.util.Calendar |
getCalendarFromUTC(java.lang.String in_utcTime, java.util.TimeZone in_tz)Converts a UTC time string and local TimeZone to a Java Calendar object version 2003-09-05 fix009580 |
static java.lang.String |
getDate(java.util.Calendar in_date)Retrieves the date string from a Java Calendar object. |
static java.lang.String |
getDateRangeQuery(java.util.Calendar in_startDate, java.util.Calendar in_endDate)Constructs a date range query that can be used for a Where clause in a vQuery. |
static java.lang.String |
getDateRangeQueryFromLocalCal(java.util.Calendar in_startDate, java.util.Calendar in_endDate)Constructs a date range query that can be used for a Where clause in a vQuery from a local Calendar. |
static java.lang.String |
getReceiveBuffer(org.apache.soap.messaging.Message in_message)Retrieves the receive buffer from a TCP/IP message. |
static java.lang.String |
getSendBuffer(org.apache.soap.messaging.Message in_message)Retrieves the send buffer from a TCP/IP message. |
static org.apache.soap.Fault |
getSOAPFault(java.util.Vector in_elements)Retrieves a SOAP fault that was returned in the Calendarlet response. |
static java.lang.String |
getTimestamp()Retrieves the current date and time timestamp in UTC. |
static java.util.Calendar |
getToday()Retrieves the Calendar object with today's date and the local time zone set. |
static java.util.Calendar |
getToday(java.util.TimeZone in_tz)Retrieves the Calendar object with today's date and the local time zone set. |
static java.lang.String |
getUTCDate(java.util.Calendar in_date)Retrieves the UTC date string from a Java Calendar object. |
static java.lang.String |
getUTCDateTime(java.util.Calendar in_date)Retrieves the UTC date time string from a Java Calendar object, converted from the local time zone if required. |
static boolean |
isBasicChallenge(java.util.Vector in_elements)Utility method that helps determine if a BasicChallenge was returned in the SOAP header. |
static boolean |
isSOAPFault(java.util.Vector in_elements)Determines whether or not a SOAP fault was returned in the Calendarlet response. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CalendarUtils()
| Method Detail |
public static boolean isSOAPFault(java.util.Vector in_elements)
in_elements - Vector of XML elementsCalendaringResponse.getBodyEntries()
public static org.apache.soap.Fault getSOAPFault(java.util.Vector in_elements)
throws java.lang.Exception
in_elements - Vector of XML elementsjava.lang.ExceptionCalendaringResponse.getBodyEntries()public static boolean isBasicChallenge(java.util.Vector in_elements)
in_elements - Vector of XML elementsCalendaringResponse.getHeaderEntries()
public static BasicChallenge getBasicChallenge(java.util.Vector in_elements)
throws java.lang.Exception
in_elements - Vector of XML elementsjava.lang.ExceptionCalendaringResponse.getHeaderEntries()public static java.lang.String getSendBuffer(org.apache.soap.messaging.Message in_message)
in_message - TCP/IP messagepublic static java.lang.String getReceiveBuffer(org.apache.soap.messaging.Message in_message)
in_message - TCP/IP messagepublic static java.lang.String getUTCDateTime(java.util.Calendar in_date)
The UTC date and time string is compatible with the iCal standard.
version 2003-02-13 fix008515in_date - date objectpublic static java.lang.String getDate(java.util.Calendar in_date)
The date string is compatible with the iCal standard.
version 2004-11-18 fix011194in_date - date objectpublic static java.lang.String getUTCDate(java.util.Calendar in_date)
The UTC date string is compatible with the iCal standard.
version 2003-03-13 fix008515in_date - date objectpublic static java.util.Calendar getToday()
yyyyMMddTXX0000Z (today's date at midnight local) where XX is the offset to GMT. version 2003-02-13 fix008515public static java.lang.String getTimestamp()
yyyyMMddThhmmssZ. version 2003-09-11 fix009594public static java.util.Calendar getToday(java.util.TimeZone in_tz)
yyyyMMddTXX0000Z (today's date at midnight local) where XX is the offset to GMT. version 2003-09-05 fix009580in_tz - local TimeZone object
public static java.lang.String getDateRangeQuery(java.util.Calendar in_startDate,
java.util.Calendar in_endDate)
DTEND >= 'start date' AND DTSTART <= 'end date'. version 2003-01-17 fix008443in_startDate - start date for vQueryin_endDate - end date for vQueryvQuery
public static java.lang.String getDateRangeQueryFromLocalCal(java.util.Calendar in_startDate,
java.util.Calendar in_endDate)
DTEND >= 'start date' AND DTSTART <= 'end date'. version 2003-09-05 fix009580in_startDate - start date for vQueryin_endDate - end date for vQueryvQuerypublic static java.util.Calendar getCalendarFromUTC(java.lang.String in_utcTime)
in_utcTime - UTC date time string
public static java.util.Calendar getCalendarFromUTC(java.lang.String in_utcTime,
java.util.TimeZone in_tz)
in_utcTime - UTC date and time stringin_tz - local TimeZone object
|
Oracle® Calendar Web Services Java API Reference 10g Release 1 (10.1.2) B25488-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||