Class TzdataType

java.lang.Object
ietf.params.xml.ns.timezone_service.TzdataType

public class TzdataType extends Object
This element specifies expanded timezone data for the range specified in a request.

Java class for TzdataType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TzdataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tzid" type="{urn:ietf:params:xml:ns:timezone-service}TzidType"/>
         <element name="calscale" type="{urn:ietf:params:xml:ns:timezone-service}CalscaleType"/>
         <element name="observance" type="{urn:ietf:params:xml:ns:timezone-service}ObservanceType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TzdataType

      public TzdataType()
  • Method Details

    • getTzid

      public String getTzid()
      Gets the value of the tzid property.
      Returns:
      possible object is String
    • setTzid

      public void setTzid(String value)
      Sets the value of the tzid property.
      Parameters:
      value - allowed object is String
    • getCalscale

      public String getCalscale()
      Gets the value of the calscale property.
      Returns:
      possible object is String
    • setCalscale

      public void setCalscale(String value)
      Sets the value of the calscale property.
      Parameters:
      value - allowed object is String
    • getObservance

      public List<ObservanceType> getObservance()
      Gets the value of the observance property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the observance property.

      For example, to add a new item, do as follows:

          getObservance().add(newItem);
       

      Objects of the following type(s) are allowed in the list ObservanceType