Sdílet prostřednictvím


TimeZone Class

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<TimeZoneTimeZoneInformation> otherCityTimes()

Get the otherCityTimes value.

TimeZoneTimeZoneInformation primaryCityTime()

Get the primaryCityTime value.

TimeZone withPrimaryCityTime(TimeZoneTimeZoneInformation primaryCityTime)

Set the primaryCityTime value.

Inherited Members

Method Details

otherCityTimes

public List otherCityTimes()

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