public final class Date
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 |
|---|
Date() |
| Modifier and Type | Method and Description |
|---|---|
Date |
clone() |
java.lang.Integer |
getDay()
Day of month.
|
java.lang.Integer |
getMonth()
Month of year.
|
java.lang.Integer |
getYear()
Year of date.
|
Date |
set(java.lang.String fieldName,
java.lang.Object value) |
Date |
setDay(java.lang.Integer day)
Day of month.
|
Date |
setMonth(java.lang.Integer month)
Month of year.
|
Date |
setYear(java.lang.Integer year)
Year of date.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getDay()
null for nonepublic Date setDay(java.lang.Integer day)
day - day or null for nonepublic java.lang.Integer getMonth()
null for nonepublic Date setMonth(java.lang.Integer month)
month - month or null for nonepublic java.lang.Integer getYear()
null for nonepublic Date setYear(java.lang.Integer year)
year - year or null for nonepublic Date set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Date clone()
clone in class com.google.api.client.json.GenericJson