init(name:data:)
Initializes a time zone with a given identifier and time zone data.
Declaration
init?(name tzName: String, data aData: Data?)Parameters
- tzName:
The identifier for the time zone. Providing
nilfor this parameter raises an invalid argument exception. - aData:
This parameter is ignored.
Discussion
As of macOS 10.6, the underlying implementation of this method has been changed to ignore the specified data parameter.