Returns the time zone object identified by a given abbreviation.
Original signature is '+ (id)timeZoneWithAbbreviation:(NSString *)abbreviation'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSTimeZone TimeZoneWithAbbreviation( NSString abbreviation )
Public Shared Function TimeZoneWithAbbreviation ( _ abbreviation As NSString _ ) As NSTimeZone
public: static NSTimeZone^ TimeZoneWithAbbreviation( NSString^ abbreviation )
Parameters
- abbreviation (NSString)
- An abbreviation for a time zone.
Return Value
The time zone object identified by abbreviation determined by resolving the abbreviation to a name using the abbreviation dictionary and then returning the time zone for that name. Returns nil if there is no match for abbreviation.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)