TimeZone Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Answer
- SearchResultsAnswer
- com.
microsoft. azure. cognitiveservices. search. websearch. models. TimeZone
- com.
public class TimeZone extends SearchResultsAnswer
Defines the data and time of one or more geographic locations.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Time |
otherCityTimes()
Get the otherCityTimes value. |
Time |
primaryCityTime()
Get the primaryCityTime value. |
Time |
withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)
Set the primaryCityTime value. |
Inherited Members
Answer.followUpQueries()
Identifiable.id()
SearchResultsAnswer.isFamilyFriendly()
SearchResultsAnswer.queryContext()
SearchResultsAnswer.totalEstimatedMatches()
Response.webSearchUrl()
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java