Skip to main content
Omnitracs Knowledge Base

TimeZone

Information about a time zone is implemented in the TimeZone object. The attributes of the TimeZone object are:

 

Attribute

 

 

Description

 

dstLongName

A string of maximum length 30 containing the full name for the daylight saving time of the time zone.

dstShortName

A string of maximum length 10 containing the abbreviation for the daylight saving time of the time zone.

gmtOffset

A string of maximum length 9 specifying the time zone offset from GMT time.

name

A string of maximum length 50 containing the name of the time zone.

stdLongName

A string of maximum length 30 containing the full name for the standard time of the time zone.

stdShortName

A string of maximum length 10 containing the abbreviation for the standard time of the time zone.

WSDL Definition

Here is how the TimeZone Information object is defined within the WSDL

<complexType name="TimeZone">

   <sequence>

      <element name="dstLongName" nillable="true" type="xsd:string"/>

      <element name="dstShortName" nillable="true" type="xsd:string"/>

      <element name="gmtOffset" nillable="true" type="xsd:string"/>

      <element name="name" nillable="true" type="xsd:string"/>

      <element name="stdLongName" nillable="true" type="xsd:string"/>

      <element name="stdShortName" nillable="true" type="xsd:string"/>

   </sequence>

</complexType>

 

Sample XML

Here is some sample XML that shows what the TimeZone Information object will look like in XML

<timeZone>

  <dstLongName>Pacific Daylight Saving Time</dstLongName>

  <dstShortName>PDT</dstShortName>

  <gmtOffset>GMT-08:00</gmtOffset>

  <name>Pacific Time</name>

  <stdLongName>Pacific Standard Time</stdLongName>

  <stdShortName>PST</stdShortName>

</timeZone>

 

  • Was this article helpful?