public final class TimeInterval
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 My Business 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 |
---|
TimeInterval() |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
clone() |
Date |
getEndDate()
The end date of this period.
|
TimeOfDay |
getEndTime()
The end time of this period.
|
Date |
getStartDate()
The start date of this period.
|
TimeOfDay |
getStartTime()
The start time of this period.
|
TimeInterval |
set(java.lang.String fieldName,
java.lang.Object value) |
TimeInterval |
setEndDate(Date endDate)
The end date of this period.
|
TimeInterval |
setEndTime(TimeOfDay endTime)
The end time of this period.
|
TimeInterval |
setStartDate(Date startDate)
The start date of this period.
|
TimeInterval |
setStartTime(TimeOfDay startTime)
The start time of this period.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Date getEndDate()
null
for nonepublic TimeInterval setEndDate(Date endDate)
endDate
- endDate or null
for nonepublic TimeOfDay getEndTime()
null
for nonepublic TimeInterval setEndTime(TimeOfDay endTime)
endTime
- endTime or null
for nonepublic Date getStartDate()
null
for nonepublic TimeInterval setStartDate(Date startDate)
startDate
- startDate or null
for nonepublic TimeOfDay getStartTime()
null
for nonepublic TimeInterval setStartTime(TimeOfDay startTime)
startTime
- startTime or null
for nonepublic TimeInterval set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TimeInterval clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.