public final class DateElementProperties
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 Docs 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 |
|---|
DateElementProperties() |
| Modifier and Type | Method and Description |
|---|---|
DateElementProperties |
clone() |
String |
getDateFormat()
Determines how the date part of the DateElement will be displayed in the document.
|
String |
getDisplayText()
Output only.
|
String |
getLocale()
The locale of the document, as defined by the Unicode Common Locale Data Repository (CLDR)
project.
|
String |
getTimeFormat()
Determines how the time part of the DateElement will be displayed in the document.
|
String |
getTimestamp()
The point in time to represent, in seconds and nanoseconds since Unix epoch: January 1, 1970 at
midnight UTC.
|
String |
getTimeZoneId()
The time zone of the DateElement, as defined by the Unicode Common Locale Data Repository
(CLDR) project.
|
DateElementProperties |
set(String fieldName,
Object value) |
DateElementProperties |
setDateFormat(String dateFormat)
Determines how the date part of the DateElement will be displayed in the document.
|
DateElementProperties |
setDisplayText(String displayText)
Output only.
|
DateElementProperties |
setLocale(String locale)
The locale of the document, as defined by the Unicode Common Locale Data Repository (CLDR)
project.
|
DateElementProperties |
setTimeFormat(String timeFormat)
Determines how the time part of the DateElement will be displayed in the document.
|
DateElementProperties |
setTimestamp(String timestamp)
The point in time to represent, in seconds and nanoseconds since Unix epoch: January 1, 1970 at
midnight UTC.
|
DateElementProperties |
setTimeZoneId(String timeZoneId)
The time zone of the DateElement, as defined by the Unicode Common Locale Data Repository
(CLDR) project.
|
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 String getDateFormat()
null for nonepublic DateElementProperties setDateFormat(String dateFormat)
dateFormat - dateFormat or null for nonepublic String getDisplayText()
null for nonepublic DateElementProperties setDisplayText(String displayText)
displayText - displayText or null for nonepublic String getLocale()
null for nonepublic DateElementProperties setLocale(String locale)
locale - locale or null for nonepublic String getTimeFormat()
null for nonepublic DateElementProperties setTimeFormat(String timeFormat)
timeFormat - timeFormat or null for nonepublic String getTimeZoneId()
null for nonepublic DateElementProperties setTimeZoneId(String timeZoneId)
timeZoneId - timeZoneId or null for nonepublic String getTimestamp()
null for nonepublic DateElementProperties setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic DateElementProperties set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DateElementProperties clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.