public class DateTime extends Object
Java class for DateTime complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DateTime">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="date" type="{https://www.google.com/apis/ads/publisher/v201805}Date" minOccurs="0"/>
<element name="hour" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="minute" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="second" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="timeZoneID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Date |
date |
protected Integer |
hour |
protected Integer |
minute |
protected Integer |
second |
protected String |
timeZoneID |
| Constructor and Description |
|---|
DateTime() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Gets the value of the date property.
|
Integer |
getHour()
Gets the value of the hour property.
|
Integer |
getMinute()
Gets the value of the minute property.
|
Integer |
getSecond()
Gets the value of the second property.
|
String |
getTimeZoneID()
Gets the value of the timeZoneID property.
|
void |
setDate(Date value)
Sets the value of the date property.
|
void |
setHour(Integer value)
Sets the value of the hour property.
|
void |
setMinute(Integer value)
Sets the value of the minute property.
|
void |
setSecond(Integer value)
Sets the value of the second property.
|
void |
setTimeZoneID(String value)
Sets the value of the timeZoneID property.
|
protected Date date
protected Integer hour
protected Integer minute
protected Integer second
protected String timeZoneID
public void setDate(Date value)
value - allowed object is
Datepublic Integer getHour()
Integerpublic void setHour(Integer value)
value - allowed object is
Integerpublic Integer getMinute()
Integerpublic void setMinute(Integer value)
value - allowed object is
Integerpublic Integer getSecond()
Integerpublic void setSecond(Integer value)
value - allowed object is
Integerpublic String getTimeZoneID()
StringCopyright © 2018. All Rights Reserved.