com.google.api.ads.dfp.axis.v201208
Class Date

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201208.Date
All Implemented Interfaces:
Serializable

public class Date
extends Object
implements Serializable

Represents a date.

See Also:
Serialized Form

Constructor Summary
Date()
           
Date(Integer year, Integer month, Integer day)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getDay()
          Gets the day value for this Date.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getMonth()
          Gets the month value for this Date.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 Integer getYear()
          Gets the year value for this Date.
 int hashCode()
           
 void setDay(Integer day)
          Sets the day value for this Date.
 void setMonth(Integer month)
          Sets the month value for this Date.
 void setYear(Integer year)
          Sets the year value for this Date.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Date

public Date()

Date

public Date(Integer year,
            Integer month,
            Integer day)
Method Detail

getYear

public Integer getYear()
Gets the year value for this Date.

Returns:
year * Year (e.g., 2009)

setYear

public void setYear(Integer year)
Sets the year value for this Date.

Parameters:
year - * Year (e.g., 2009)

getMonth

public Integer getMonth()
Gets the month value for this Date.

Returns:
month * Month (1..12)

setMonth

public void setMonth(Integer month)
Sets the month value for this Date.

Parameters:
month - * Month (1..12)

getDay

public Integer getDay()
Gets the day value for this Date.

Returns:
day * Day (1..31)

setDay

public void setDay(Integer day)
Sets the day value for this Date.

Parameters:
day - * Day (1..31)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.