public final class DateRange
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the AdMob API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
DateRange() |
| Modifier and Type | Method and Description |
|---|---|
DateRange |
clone() |
Date |
getEndDate()
End date of the date range, inclusive.
|
Date |
getStartDate()
Start date of the date range, inclusive.
|
DateRange |
set(java.lang.String fieldName,
java.lang.Object value) |
DateRange |
setEndDate(Date endDate)
End date of the date range, inclusive.
|
DateRange |
setStartDate(Date startDate)
Start date of the date range, inclusive.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Date getEndDate()
null for nonepublic DateRange setEndDate(Date endDate)
endDate - endDate or null for nonepublic Date getStartDate()
null for nonepublic DateRange setStartDate(Date startDate)
startDate - startDate or null for nonepublic DateRange set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DateRange clone()
clone in class com.google.api.client.json.GenericJson