Package com.google.maps
Class TimeZoneApi
- java.lang.Object
-
- com.google.maps.TimeZoneApi
-
public class TimeZoneApi extends java.lang.Object
The Google Time Zone API provides a simple interface to request the time zone for a location on the earth.See the Time Zone API documentation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PendingResult<java.util.TimeZone>
getTimeZone(GeoApiContext context, LatLng location)
Retrieves theTimeZone
for the given location.
-
-
-
Method Detail
-
getTimeZone
public static PendingResult<java.util.TimeZone> getTimeZone(GeoApiContext context, LatLng location)
Retrieves theTimeZone
for the given location.- Parameters:
context
- TheGeoApiContext
to make requests through.location
- The location for which to retrieve a time zone.- Returns:
- Returns the time zone as a
PendingResult
.
-
-