Sdílet prostřednictvím


TimeZoneTimeZoneInformation Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.websearch.models.TimeZoneTimeZoneInformation

public class TimeZoneTimeZoneInformation

Defines a date and time for a geographical location.

Method Summary

Modifier and Type Method and Description
String location()

Get the location value.

String time()

Get the time value.

String utcOffset()

Get the utcOffset value.

TimeZoneTimeZoneInformation withLocation(String location)

Set the location value.

TimeZoneTimeZoneInformation withTime(String time)

Set the time value.

TimeZoneTimeZoneInformation withUtcOffset(String utcOffset)

Set the utcOffset value.

Method Details

location

public String location()

Get the location value.

Returns:

the location value

time

public String time()

Get the time value.

Returns:

the time value

utcOffset

public String utcOffset()

Get the utcOffset value.

Returns:

the utcOffset value

withLocation

public TimeZoneTimeZoneInformation withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the TimeZoneTimeZoneInformation object itself.

withTime

public TimeZoneTimeZoneInformation withTime(String time)

Set the time value.

Parameters:

time - the time value to set

Returns:

the TimeZoneTimeZoneInformation object itself.

withUtcOffset

public TimeZoneTimeZoneInformation withUtcOffset(String utcOffset)

Set the utcOffset value.

Parameters:

utcOffset - the utcOffset value to set

Returns:

the TimeZoneTimeZoneInformation object itself.

Applies to