Contents

timeZoneWithName:data:

Returns the time zone with a given identifier whose data has been initialized using given data.

Declaration

+ (instancetype) timeZoneWithName:(NSString *) tzName data:(NSData *) aData;

Parameters

  • tzName:

    The ID for the time zone.

  • aData:

    This parameter is ignored.

Return Value

The time zone with the ID tzName.

Discussion

As of macOS 10.6, the underlying implementation of this method has been changed to ignore the specified data parameter.

See Also

Creating Time Zones