你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TimeZone 类

public class TimeZone extends SearchResultsAnswer

定义一个或多个地理位置的数据和时间。

方法摘要

修饰符和类型 方法和描述
List<TimeZoneTimeZoneInformation> otherCityTimes()

获取 otherCityTimes 值。

TimeZoneTimeZoneInformation primaryCityTime()

获取 primaryCityTime 值。

TimeZone withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)

设置 primaryCityTime 值。

继承成员

方法详细信息

otherCityTimes

public List otherCityTimes()

获取 otherCityTimes 值。

Returns:

otherCityTimes 值

primaryCityTime

public TimeZoneTimeZoneInformation primaryCityTime()

获取 primaryCityTime 值。

Returns:

primaryCityTime 值

withPrimaryCityTime

public TimeZone withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)

设置 primaryCityTime 值。

Parameters:

primaryCityTime - 要设置的 primaryCityTime 值

Returns:

TimeZone 对象本身。

适用于