|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.EventDateTime
public final class EventDateTime
Model definition for EventDateTime.
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 Calendar API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
EventDateTime()
|
|
| Method Summary | |
|---|---|
EventDateTime |
clone()
|
DateTime |
getDate()
The date, in the format "yyyy-mm-dd", if this is an all-day event. |
DateTime |
getDateTime()
The time, as a combined date-time value (formatted according to RFC 3339). |
String |
getTimeZone()
The name of the time zone in which the time is specified (e.g. |
EventDateTime |
set(String fieldName,
Object value)
|
EventDateTime |
setDate(DateTime date)
The date, in the format "yyyy-mm-dd", if this is an all-day event. |
EventDateTime |
setDateTime(DateTime dateTime)
The time, as a combined date-time value (formatted according to RFC 3339). |
EventDateTime |
setTimeZone(String timeZone)
The name of the time zone in which the time is specified (e.g. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventDateTime()
| Method Detail |
|---|
public DateTime getDate()
null for nonepublic EventDateTime setDate(DateTime date)
date - date or null for nonepublic DateTime getDateTime()
null for nonepublic EventDateTime setDateTime(DateTime dateTime)
dateTime - dateTime or null for nonepublic String getTimeZone()
null for nonepublic EventDateTime setTimeZone(String timeZone)
timeZone - timeZone or null for none
public EventDateTime set(String fieldName,
Object value)
set in class GenericJsonpublic EventDateTime clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||