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 Google Analytics Reporting 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() |
java.lang.String |
getEndDate()
The end date for the query in the format `YYYY-MM-DD`.
|
java.lang.String |
getStartDate()
The start date for the query in the format `YYYY-MM-DD`.
|
DateRange |
set(java.lang.String fieldName,
java.lang.Object value) |
DateRange |
setEndDate(java.lang.String endDate)
The end date for the query in the format `YYYY-MM-DD`.
|
DateRange |
setStartDate(java.lang.String startDate)
The start date for the query in the format `YYYY-MM-DD`.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEndDate()
null for nonepublic DateRange setEndDate(java.lang.String endDate)
endDate - endDate or null for nonepublic java.lang.String getStartDate()
null for nonepublic DateRange setStartDate(java.lang.String 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