[Previous] [Up] [Next]

NSTimeZone

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSTimeZone

NSTimeZone

Declared in: Foundation/NSTimeZone.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

abbreviationDictionary

+ (NSDictionary*) abbreviationDictionary;

defaultTimeZone

+ (NSTimeZone*) defaultTimeZone;

localTimeZone

+ (NSTimeZone*) localTimeZone;

knownTimeZoneNames

+ (NSArray*) knownTimeZoneNames;

resetSystemTimeZone

+ (void) resetSystemTimeZone;

setDefaultTimeZone:

+ (void) setDefaultTimeZone: (NSTimeZone*)aTimeZone;

systemTimeZone

+ (NSTimeZone*) systemTimeZone;

timeZoneForSecondsFromGMT:

+ (NSTimeZone*) timeZoneForSecondsFromGMT: (int)seconds;

timeZoneWithAbbreviation:

+ (NSTimeZone*) timeZoneWithAbbreviation: (NSString*)abbreviation;

timeZoneWithName:

+ (NSTimeZone*) timeZoneWithName: (NSString*)aTimeZoneName;

timeZoneWithName:

+ (NSTimeZone*) timeZoneWithName: (NSString*)aTimeZoneName;


Instances Methods

abbreviation

- (NSString*) abbreviation;

abbreviationForDate:

- (NSString*) abbreviationForDate: (NSDate*)aDate;

data

- (NSData*) data;

description

- (NSString*) description;

initWithName:

- (id) initWithName: (NSString*)aName;

initWithName:

- (id) initWithName: (NSString*)aName;

isDaylightSavingTime

- (BOOL) isDaylightSavingTime;

isDaylightSavingTimeForDate:

- (BOOL) isDaylightSavingTimeForDate: (NSDate*)aDate;

isEqualToTimeZone:

- (BOOL) isEqualToTimeZone: (NSTimeZone*)aTimeZone;

name

- (NSString*) name;

secondsFromGMT

- (int) secondsFromGMT;

secondsFromGMTForDate:

- (int) secondsFromGMTForDate: (NSDate*)aDate;