HereSDKTimeZoneService

@interface HereSDKTimeZoneService : NSObject

The Time Zone service provides NSTimeZone and time offset data for a coordinate.

  • Requests a HereSDKTimeZoneResponse for the specified coordinate.

    Declaration

    Objective-C

    - (void)timeZoneAtCoordinate:(CLLocationCoordinate2D)coordinate
                         handler:
                             (nonnull void (^)(HereSDKTimeZoneResponse *_Nullable,
                                               NSError *_Nullable))handler;

    Swift

    func timeZone(at coordinate: CLLocationCoordinate2D, handler: @escaping (HereSDKTimeZoneResponse?, Error?) -> Void)

    Parameters

    coordinate

    Coordinate to request time zone for. Required.