target.apidocs.com.google.api.services.content.model.TimeZone.html Maven / Gradle / Ivy
TimeZone (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class TimeZone
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.TimeZone
-
public final class TimeZone
extends GenericJson
Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).
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 Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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>
-
Constructor Summary
Constructors
Constructor and Description
TimeZone()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TimeZone
clone()
String
getId()
IANA Time Zone Database time zone, e.g.
String
getVersion()
Optional.
TimeZone
set(String fieldName,
Object value)
TimeZone
setId(String id)
IANA Time Zone Database time zone, e.g.
TimeZone
setVersion(String version)
Optional.
-
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getId
public String getId()
IANA Time Zone Database time zone, e.g. "America/New_York".
- Returns:
- value or
null
for none
-
setId
public TimeZone setId(String id)
IANA Time Zone Database time zone, e.g. "America/New_York".
- Parameters:
id
- id or null
for none
-
getVersion
public String getVersion()
Optional. IANA Time Zone Database version number, e.g. "2019a".
- Returns:
- value or
null
for none
-
setVersion
public TimeZone setVersion(String version)
Optional. IANA Time Zone Database version number, e.g. "2019a".
- Parameters:
version
- version or null
for none
-
set
public TimeZone set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TimeZone clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy