TimeZoneTimeZoneInformation Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. TimeZoneTimeZoneInformation
- com.
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 utc |
Time |
withLocation(String location)
Set the location value. |
Time |
withTime(String time)
Set the time value. |
Time |
withUtcOffset(String utcOffset)
Set the utc |
Methods inherited from java.lang.Object
Constructor Details
TimeZoneTimeZoneInformation
public TimeZoneTimeZoneInformation()
Method Details
location
public String location()
Get the location value.
Returns:
time
public String time()
Get the time value.
Returns:
utcOffset
public String utcOffset()
Get the utcOffset value.
Returns:
withLocation
public TimeZoneTimeZoneInformation withLocation(String location)
Set the location value.
Parameters:
Returns:
withTime
public TimeZoneTimeZoneInformation withTime(String time)
Set the time value.
Parameters:
Returns:
withUtcOffset
public TimeZoneTimeZoneInformation withUtcOffset(String utcOffset)
Set the utcOffset value.
Parameters:
Returns:
Applies to
Azure SDK for Java