~ubuntu-branches/ubuntu/karmic/gnustep-base/karmic

« back to all changes in this revision

Viewing changes to Documentation/gsdoc/NSTimeZone.html

  • Committer: Bazaar Package Importer
  • Author(s): Eric Heintzmann
  • Date: 2005-04-17 00:14:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050417001438-enf0y07c9tku85z1
Tags: 1.10.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head>
2
 
 <title>NSTimeZone</title>
3
 
</head>
4
 
<body>
5
 
<a href ="NSThread.html">[Previous] </a>
6
 
<a href ="Base.html">[Up] </a>
7
 
<a href ="NSTimer.html">[Next] </a>
8
 
<h1>NSTimeZone</h1>
9
 
<h3>Authors </h3>
10
 
 <dl>
11
 
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
12
 
<dd>
13
 
</dl>
14
 
<p>Version: $Revision: 1.14 $</p>
15
 
<p>Date: $Date: 2001/12/12 14:10:13 $</p>
16
 
<h2><a name ="cont-0">NSTimeZone</a></h2>
17
 
<h2><a name ="NSTimeZone">NSTimeZone</a></h2>
18
 
<p><b>Declared in: </b> Foundation/NSTimeZone.h</p>
19
 
<p><b>Inherits from: </b> NSObject</p>
20
 
<p><b>Conforms to: </b> NSCoding
21
 
</p>
22
 
<hr>
23
 
 
24
 
        <p>
25
 
 
26
 
        If the GNUstep time zone datafiles become too out of date, one
27
 
        can download an updated database from <a href ="ftp://elsie.nci.nih.gov/pub/">ftp://elsie.nci.nih.gov/pub/</a>
28
 
        and compile it as specified in the README file in the
29
 
        NSTimeZones directory.
30
 
 
31
 
        Time zone names in NSDates should be GMT, MET etc. not
32
 
        Europe/Berlin, America/Washington etc.
33
 
 
34
 
        The problem with this is that various time zones may use the
35
 
        same abbreviation (e.g. Australia/Brisbane and
36
 
        America/New_York both use EST), and some time zones
37
 
        may have different rules for daylight saving time even if the
38
 
        abbreviation and offsets from UTC are the same.
39
 
 
40
 
        The problems with depending on the OS for providing time zone
41
 
        info are that some methods for the NSTimeZone classes might be
42
 
        difficult to implement, and also that time zone names may vary
43
 
        wildly between OSes (this could be a big problem when
44
 
        archiving is used between different systems).
45
 
        </p>
46
 
 
47
 
        
48
 
<h2>Instance Variables </h2>
49
 
<ul>
50
 
</ul>
51
 
<h2>Methods </h2>
52
 
<ul>
53
 
<li ><a href ="NSTimeZone.html#method-0">+abbreviationDictionary</a>
54
 
<li ><a href ="NSTimeZone.html#method-1">+defaultTimeZone</a>
55
 
<li ><a href ="NSTimeZone.html#method-3">+knownTimeZoneNames</a>
56
 
<li ><a href ="NSTimeZone.html#method-2">+localTimeZone</a>
57
 
<li ><a href ="NSTimeZone.html#method-4">+resetSystemTimeZone</a>
58
 
<li ><a href ="NSTimeZone.html#method-5">+setDefaultTimeZone:</a>
59
 
<li ><a href ="NSTimeZone.html#method-6">+systemTimeZone</a>
60
 
<li ><a href ="NSTimeZone.html#method-7">+timeZoneForSecondsFromGMT:</a>
61
 
<li ><a href ="NSTimeZone.html#method-8">+timeZoneWithAbbreviation:</a>
62
 
<li ><a href ="NSTimeZone.html#method-9">+timeZoneWithName:</a>
63
 
<li ><a href ="NSTimeZone.html#method-10">+timeZoneWithName:</a>
64
 
<li ><a href ="NSTimeZone.html#method-11">-abbreviation</a>
65
 
<li ><a href ="NSTimeZone.html#method-12">-abbreviationForDate:</a>
66
 
<li ><a href ="NSTimeZone.html#method-13">-data</a>
67
 
<li ><a href ="NSTimeZone.html#method-14">-description</a>
68
 
<li ><a href ="NSTimeZone.html#method-16">-initWithName:</a>
69
 
<li ><a href ="NSTimeZone.html#method-15">-initWithName:</a>
70
 
<li ><a href ="NSTimeZone.html#method-17">-isDaylightSavingTime</a>
71
 
<li ><a href ="NSTimeZone.html#method-18">-isDaylightSavingTimeForDate:</a>
72
 
<li ><a href ="NSTimeZone.html#method-19">-isEqualToTimeZone:</a>
73
 
<li ><a href ="NSTimeZone.html#method-20">-name</a>
74
 
<li ><a href ="NSTimeZone.html#method-21">-secondsFromGMT</a>
75
 
<li ><a href ="NSTimeZone.html#method-22">-secondsFromGMTForDate:</a>
76
 
</ul>
77
 
<hr><h2>Class Methods </h2>
78
 
<h3><a name ="method-0">abbreviationDictionary</a></h3>
79
 
+ (NSDictionary*) <b>abbreviationDictionary</b>;<br>
80
 
 
81
 
          
82
 
 <hr>
83
 
<h3><a name ="method-1">defaultTimeZone</a></h3>
84
 
+ (NSTimeZone*) <b>defaultTimeZone</b>;<br>
85
 
 
86
 
          
87
 
 <hr>
88
 
<h3><a name ="method-2">localTimeZone</a></h3>
89
 
+ (NSTimeZone*) <b>localTimeZone</b>;<br>
90
 
 
91
 
          
92
 
 <hr>
93
 
<h3><a name ="method-3">knownTimeZoneNames</a></h3>
94
 
+ (NSArray*) <b>knownTimeZoneNames</b>;<br>
95
 
 
96
 
          
97
 
 <hr>
98
 
<h3><a name ="method-4">resetSystemTimeZone</a></h3>
99
 
+ (void) <b>resetSystemTimeZone</b>;<br>
100
 
 
101
 
          
102
 
 <hr>
103
 
<h3><a name ="method-5">setDefaultTimeZone:</a></h3>
104
 
+ (void) <b>setDefaultTimeZone:</b> (NSTimeZone*)aTimeZone;<br>
105
 
 
106
 
          
107
 
 <hr>
108
 
<h3><a name ="method-6">systemTimeZone</a></h3>
109
 
+ (NSTimeZone*) <b>systemTimeZone</b>;<br>
110
 
 
111
 
          
112
 
 <hr>
113
 
<h3><a name ="method-7">timeZoneForSecondsFromGMT:</a></h3>
114
 
+ (NSTimeZone*) <b>timeZoneForSecondsFromGMT:</b> (int)seconds;<br>
115
 
 
116
 
          
117
 
 <hr>
118
 
<h3><a name ="method-8">timeZoneWithAbbreviation:</a></h3>
119
 
+ (NSTimeZone*) <b>timeZoneWithAbbreviation:</b> (NSString*)abbreviation;<br>
120
 
 
121
 
          
122
 
 <hr>
123
 
<h3><a name ="method-9">timeZoneWithName:</a></h3>
124
 
+ (NSTimeZone*) <b>timeZoneWithName:</b> (NSString*)aTimeZoneName;<br>
125
 
 
126
 
          
127
 
 <hr>
128
 
<h3><a name ="method-10">timeZoneWithName:</a></h3>
129
 
+ (NSTimeZone*) <b>timeZoneWithName:</b> (NSString*)aTimeZoneName;<br>
130
 
 
131
 
          
132
 
 <hr>
133
 
<hr><h2>Instances Methods </h2>
134
 
<h3><a name ="method-11">abbreviation</a></h3>
135
 
- (NSString*) <b>abbreviation</b>;<br>
136
 
 
137
 
          
138
 
 <hr>
139
 
<h3><a name ="method-12">abbreviationForDate:</a></h3>
140
 
- (NSString*) <b>abbreviationForDate:</b> (NSDate*)aDate;<br>
141
 
 
142
 
          
143
 
 <hr>
144
 
<h3><a name ="method-13">data</a></h3>
145
 
- (NSData*) <b>data</b>;<br>
146
 
 
147
 
          
148
 
 <hr>
149
 
<h3><a name ="method-14">description</a></h3>
150
 
- (NSString*) <b>description</b>;<br>
151
 
 
152
 
          
153
 
 <hr>
154
 
<h3><a name ="method-15">initWithName:</a></h3>
155
 
- (id) <b>initWithName:</b> (NSString*)aName;<br>
156
 
 
157
 
          
158
 
 <hr>
159
 
<h3><a name ="method-16">initWithName:</a></h3>
160
 
- (id) <b>initWithName:</b> (NSString*)aName;<br>
161
 
 
162
 
          
163
 
 <hr>
164
 
<h3><a name ="method-17">isDaylightSavingTime</a></h3>
165
 
- (BOOL) <b>isDaylightSavingTime</b>;<br>
166
 
 
167
 
          
168
 
 <hr>
169
 
<h3><a name ="method-18">isDaylightSavingTimeForDate:</a></h3>
170
 
- (BOOL) <b>isDaylightSavingTimeForDate:</b> (NSDate*)aDate;<br>
171
 
 
172
 
          
173
 
 <hr>
174
 
<h3><a name ="method-19">isEqualToTimeZone:</a></h3>
175
 
- (BOOL) <b>isEqualToTimeZone:</b> (NSTimeZone*)aTimeZone;<br>
176
 
 
177
 
          
178
 
 <hr>
179
 
<h3><a name ="method-20">name</a></h3>
180
 
- (NSString*) <b>name</b>;<br>
181
 
 
182
 
          
183
 
 <hr>
184
 
<h3><a name ="method-21">secondsFromGMT</a></h3>
185
 
- (int) <b>secondsFromGMT</b>;<br>
186
 
 
187
 
          
188
 
 <hr>
189
 
<h3><a name ="method-22">secondsFromGMTForDate:</a></h3>
190
 
- (int) <b>secondsFromGMTForDate:</b> (NSDate*)aDate;<br>
191
 
 
192
 
          
193
 
 <hr>
194
 
</body>
195
 
 
196
 
 </html>