TimeZone Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. websearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. websearch. models. Response - com.
microsoft. azure. cognitiveservices. search. websearch. models. Answer - com.
microsoft. azure. cognitiveservices. search. websearch. models. SearchResultsAnswer - com.
microsoft. azure. cognitiveservices. search. websearch. models. TimeZone
- com.
- com.
- com.
- com.
- com.
- com.
public class TimeZone
extends SearchResultsAnswer
Defines the data and time of one or more geographic locations.
Constructor Summary
Constructor | Description | |
---|---|---|
TimeZone() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Time |
otherCityTimes()
Get the other |
Time |
primaryCityTime()
Get the primary |
Time |
withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)
Set the primary |
Methods inherited from Answer
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from SearchResultsAnswer
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
TimeZone
public TimeZone()
Method Details
otherCityTimes
public List
Get the otherCityTimes value.
Returns:
the otherCityTimes value
primaryCityTime
public TimeZoneTimeZoneInformation primaryCityTime()
Get the primaryCityTime value.
Returns:
the primaryCityTime value
withPrimaryCityTime
public TimeZone withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)
Set the primaryCityTime value.
Parameters:
primaryCityTime
- the primaryCityTime value to set
Returns:
the TimeZone object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java