public final class EventDateTime
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 Calendar 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EventDateTime() |
| Modifier and Type | Method and Description |
|---|---|
EventDateTime |
clone() |
com.google.api.client.util.DateTime |
getDate()
The date, in the format "yyyy-mm-dd", if this is an all-day event.
|
com.google.api.client.util.DateTime |
getDateTime()
The time, as a combined date-time value (formatted according to RFC3339).
|
String |
getTimeZone()
The time zone in which the time is specified.
|
EventDateTime |
set(String fieldName,
Object value) |
EventDateTime |
setDate(com.google.api.client.util.DateTime date)
The date, in the format "yyyy-mm-dd", if this is an all-day event.
|
EventDateTime |
setDateTime(com.google.api.client.util.DateTime dateTime)
The time, as a combined date-time value (formatted according to RFC3339).
|
EventDateTime |
setTimeZone(String timeZone)
The time zone in which the time is specified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic com.google.api.client.util.DateTime getDate()
null for nonepublic EventDateTime setDate(com.google.api.client.util.DateTime date)
date - date or null for nonepublic com.google.api.client.util.DateTime getDateTime()
null for nonepublic EventDateTime setDateTime(com.google.api.client.util.DateTime dateTime)
dateTime - dateTime or null for nonepublic String getTimeZone()
null for nonepublic EventDateTime setTimeZone(String timeZone)
timeZone - timeZone or null for nonepublic EventDateTime set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EventDateTime clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.