(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSTimeZone 

Inherits From:	NSObject 

Conforms To:	NSCoding
NSCopying
NSObject 

Declared In:	foundation/NSDate.h 

Creating and Initializing a Time Zone Object 

+ (NSTimeZoneDetail *)defaultTimeZone	Returns the default time zone as set for the current locale.
+ (NSTimeZone *)localTimeZone	Returns a time-zone object that behaves as the correct default time-zone in any given locale.
+ (NSTimeZone *)timeZoneForSecondsFromGMT:(int)seconds
	Returns a time-zone object representing the time zone with seconds offset from Greenwich Mean Time.  
+ (NSTimeZoneDetail *)timeZoneWithAbbreviation:(NSString *)abbreviation
	Returns the time-zone object identified by the abbreviation  abbreviation.  If there's no match, this method returns nil. 
+ (NSTimeZone *)timeZoneWithName:(NSString *)aTimeZoneName
	Returns the time-zone object with the name that corresponds to the geopolitical region aTimeZoneName. 

Getting Arrays of Time Zones

+ (NSArray *)timeZoneArray	Returns an array of arrays, each containing strings that show Preference's current geopolitical names for each time zone.  The subarrays are grouped by latitudinal region.  (See the "time" view of Preferences.)

- (NSArray *)timeZoneDetailArray	Returns an array of NSTimeZoneDetail objects that are associated with the receiving NSTimeZone object.

Managing Time Zones

+ (void)setDefaultTimeZone:(NSTimeZone *)aTimeZone
	Sets aTimeZone as the time zone appropriate for the current locale.  This new time zone replaces the previous default time zone.

Getting Time Zone Information

+ (NSDictionary *)abbreviationDictionary	Returns a dictionary that maps abbreviations to region names, for example ªPSTº is the key for ªUS/Pacificº.
- (NSTimeZoneDetail *)timeZoneDetailForDate:(NSDate *)date
	Returns the correct time-zone detail object associated with a date object.  You invoke this method when a region's time zone (that is, its offset value from GMT) varies over the year, as happens between Standard Time and Daylight Savings Time.
- (NSString *)timeZoneName	Returns the name of the time zone.