public class DayPart extends Object
DayPart represents a time-period within a day of the week which is
targeted by a LineItem.
Java class for DayPart complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DayPart">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="dayOfWeek" type="{https://www.google.com/apis/ads/publisher/v201708}DayOfWeek" minOccurs="0"/>
<element name="startTime" type="{https://www.google.com/apis/ads/publisher/v201708}TimeOfDay" minOccurs="0"/>
<element name="endTime" type="{https://www.google.com/apis/ads/publisher/v201708}TimeOfDay" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DayOfWeek |
dayOfWeek |
protected TimeOfDay |
endTime |
protected TimeOfDay |
startTime |
| Constructor and Description |
|---|
DayPart() |
| Modifier and Type | Method and Description |
|---|---|
DayOfWeek |
getDayOfWeek()
Gets the value of the dayOfWeek property.
|
TimeOfDay |
getEndTime()
Gets the value of the endTime property.
|
TimeOfDay |
getStartTime()
Gets the value of the startTime property.
|
void |
setDayOfWeek(DayOfWeek value)
Sets the value of the dayOfWeek property.
|
void |
setEndTime(TimeOfDay value)
Sets the value of the endTime property.
|
void |
setStartTime(TimeOfDay value)
Sets the value of the startTime property.
|
protected DayOfWeek dayOfWeek
protected TimeOfDay startTime
protected TimeOfDay endTime
public DayOfWeek getDayOfWeek()
DayOfWeekpublic void setDayOfWeek(DayOfWeek value)
value - allowed object is
DayOfWeekpublic TimeOfDay getStartTime()
TimeOfDaypublic void setStartTime(TimeOfDay value)
value - allowed object is
TimeOfDaypublic TimeOfDay getEndTime()
TimeOfDayCopyright © 2018. All Rights Reserved.