Instance Method

isEqual(to:)

Indicates whether the receiver has the same name and data as the specified time zone.

Declaration

func isEqual(to aTimeZone: TimeZone) -> Bool

Parameters

aTimeZone

The time zone to compare with the receiver.

Return Value

true if aTimeZone and the receiver have the same name and data, otherwise false.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software