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.
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. |
Time |
withLocation(String location)
Set the location value. |
Time |
withTime(String time)
Set the time value. |
Time |
withUtcOffset(String utcOffset)
Set the utcOffset value. |
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