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.

Constructor Summary

Constructor Description
TimeZoneTimeZoneInformation()

Method Summary

Modifier and Type Method and Description
java.lang.String location()

Get the location value.

java.lang.String time()

Get the time value.

java.lang.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.

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

TimeZoneTimeZoneInformation

public TimeZoneTimeZoneInformation()

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