Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Defines a transition between standard time and daylight saving time(or the other way around). e.g., For a TimeZoneRule,

For every year from 1976 (inclusive) to 2006 (inclusive), Daylight saving time took effect on the last Sunday of Apirl at 3:00 a.m. daylight saving time, the UTC offset for this time and after is -7:00. The minute before is 1:59 a.m. standard time, the UTC offset for this time is -8:00.

Members

Name Type Required Description

UTCOffsetFrom

long

Returns the UTC offset in use prior to this time zone rule.

UTCOffsetRaw

long

Returns the standard UTC offset when this time zone rule is in use. Because this value is not affected by daylight saving time, it is called raw offset

UTCOffsetTo

long

Returns the UTC offset when this time zone rule is in use. If Daylight Saving Time is in effect, this offset value is adjusted with the amount of daylight saving.

dayLightSavingTime

boolean

The DaylightSavingTime of the TimeZoneRule

daylightSavingTime

boolean

Returns whether daylight saving time is in observance when this time zone rule is in use.

endYear

int

Returns the final year in which this time zone rule applies.

name

string

Returns the time zone abbreviation defined in the TZ Database for this time zone rule (e.g., "EST")

This value is only intended to be used to specify the value of the TZNAME property in a STANDARD or DAYLIGHT sub-component of a VTIMEZONE component of an iCalendar object.

This value should not be exposed to end users since it is not localized.

onsetDay

timeZoneOnsetDay

Returns the day on which this time zone rule takes effect.

onsetLocalTime

string

Returns the local time on which this time zone rule takes effect.

onsetMonth

int

Returns the month on which the time zone rule takes effect.

startYear

int

Returns the first year in which this time zone rule applies.

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:timeZoneRule xsi:type="obh:timeZoneRule" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:UTCOffsetFrom>your_long_0</obh:UTCOffsetFrom>
        <obh:UTCOffsetRaw>your_long_0</obh:UTCOffsetRaw>
        <obh:UTCOffsetTo>your_long_0</obh:UTCOffsetTo>
        <obh:dayLightSavingTime>your_boolean_0</obh:dayLightSavingTime>
        <obh:daylightSavingTime>your_boolean_0</obh:daylightSavingTime>
        <obh:endYear>your_int_0</obh:endYear>
        <obh:name>your_string_0</obh:name>
        <obh:onsetDay>your_timeZoneOnsetDay_0</obh:onsetDay>
        <obh:onsetLocalTime>your_string_0</obh:onsetLocalTime>
        <obh:onsetMonth>your_int_0</obh:onsetMonth>
        <obh:startYear>your_int_0</obh:startYear>
</obh:timeZoneRule>

JSON Example

(show inherited members)

{
    "beeType":"timeZoneRule",
        "UTCOffsetFrom":your_{http://www.oracle.com/beehive}UTCOffsetFrom_as_long0,
        "UTCOffsetRaw":your_{http://www.oracle.com/beehive}UTCOffsetRaw_as_long0,
        "UTCOffsetTo":your_{http://www.oracle.com/beehive}UTCOffsetTo_as_long0,
        "dayLightSavingTime":your_{http://www.oracle.com/beehive}dayLightSavingTime_as_boolean0,
        "daylightSavingTime":your_{http://www.oracle.com/beehive}daylightSavingTime_as_boolean0,
        "endYear":your_{http://www.oracle.com/beehive}endYear_as_int0,
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "onsetDay":{ your_{http://www.oracle.com/beehive}onsetDay_as_timeZoneOnsetDay0 },
        "onsetLocalTime":"your_{http://www.oracle.com/beehive}onsetLocalTime_as_string0",
        "onsetMonth":your_{http://www.oracle.com/beehive}onsetMonth_as_int0,
        "startYear":your_{http://www.oracle.com/beehive}startYear_as_int0
}

XML Schema


<xs:complexType name="timeZoneRule">
    <xs:sequence>
        <xs:element name="dayLightSavingTime" type="xs:boolean"/>
        <xs:element name="daylightSavingTime" type="xs:boolean"/>
        <xs:element minOccurs="0" name="endYear" type="xs:int"/>
        <xs:element minOccurs="0" name="name" type="xs:string"/>
        <xs:element minOccurs="0" name="onsetDay" type="tns:timeZoneOnsetDay"/>
        <xs:element minOccurs="0" name="onsetLocalTime" type="xs:string"/>
        <xs:element name="onsetMonth" type="xs:int"/>
        <xs:element name="startYear" type="xs:int"/>
        <xs:element minOccurs="0" name="UTCOffsetFrom" type="xs:long"/>
        <xs:element minOccurs="0" name="UTCOffsetRaw" type="xs:long"/>
        <xs:element minOccurs="0" name="UTCOffsetTo" type="xs:long"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to timeZoneRule

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions