/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSTimeZone.html is in gnustep-base-doc 1.24.7-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>NSTimeZone class reference</title>
</head>
<body>
<font face="serif">
<a href="Base.html">Up</a>
<br />
<h1><a name="title$NSTimeZone">NSTimeZone class reference</a></h1>
<h3>Authors</h3>
<dl>
<dt>Yoo C. Chung (<a href="mailto:wacko@laplace.snu.ac.kr"><code>wacko@laplace.snu.ac.kr</code></a>)</dt>
<dd>
</dd>
<dt>Richard Frith-Macdonald (<a href="mailto:rfm@gnu.org"><code>rfm@gnu.org</code></a>)</dt>
<dd>
</dd>
</dl>
<p><b>Version:</b> 37572</p>
<p><b>Date:</b> 2014-01-11 08:09:39 +0000 (Sat, 11 Jan 2014)</p>
<p><b>Copyright:</b> (C) 1997-20 11Free Software Foundation, Inc.</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">Software documentation for the NSTimeZone class</a>
</li>
<li>
<a href="#002000000000">Software documentation for the NSTimeZoneDetail class</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">
Software documentation for the NSTimeZone class
</a></h1>
<h2><a name="class$NSTimeZone">NSTimeZone</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>Foundation/NSTimeZone.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
</p>
<p>
The local time zone is obtained from, in order of
preference: <br /> 1) the user defaults
database: NSGlobalDomain "Local Time Zone" <br />
2) the GNUSTEP_TZ environment variable <br /> 3) the
file "localtime" in
System/Library/Libraries/Resources/NSTimeZone
<br /> 4) the TZ environment variable <br /> 5) The
system zone settings (typically in /etc/localtime)
<br /> 6) tzset and tznam on platforms which have it
<br /> 7) Windows registry, on Win32 systems <br />
8) or the fallback time zone (which is UTC) <br />
</p>
<p>
</p>
<p>
If the GNUstep time zone datafiles become too out of
date, one can download an updated database from
<a href="ftp://elsie.nci.nih.gov/pub/">
ftp://elsie.nci.nih.gov/pub/
</a>
and compile it as specified in the README file in the
NSTimeZones directory.
</p>
<p>
</p>
<p>
Time zone names in NSDates should be GMT, MET etc. not
Europe/Berlin, America/Washington etc.
</p>
<p>
</p>
<p>
The problem with this is that various time zones may
use the same abbreviation (e.g. Australia/Brisbane and
America/New_York both use EST), and some
time zones may have different rules for daylight
saving time even if the abbreviation and offsets
from UTC are the same.
</p>
<p>
</p>
<p>
The problems with depending on the OS for providing
time zone info are that time zone names may vary
wildly between OSes (this could be a big problem
when archiving is used between different systems).
</p>
<p>
</p>
<p>
Win32: Time zone names read from the registry are
different from other GNUstep installations. Be
careful when moving data between platforms in this
case.
</p>
<p>
</div>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+abbreviationDictionary">+abbreviationDictionary</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+abbreviationMap">+abbreviationMap</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+defaultTimeZone">+defaultTimeZone</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+knownTimeZoneNames">+knownTimeZoneNames</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+localTimeZone">+localTimeZone</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+resetSystemTimeZone">+resetSystemTimeZone</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+setDefaultTimeZone$">+setDefaultTimeZone:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+systemTimeZone">+systemTimeZone</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+timeZoneArray">+timeZoneArray</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+timeZoneForSecondsFromGMT$">+timeZoneForSecondsFromGMT:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+timeZoneWithAbbreviation$">+timeZoneWithAbbreviation:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+timeZoneWithName$">+timeZoneWithName:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone+timeZoneWithName$data$">+timeZoneWithName:data:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-abbreviation">-abbreviation</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-abbreviationForDate$">-abbreviationForDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-data">-data</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-daylightSavingTimeOffset">-daylightSavingTimeOffset</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-daylightSavingTimeOffsetForDate$">-daylightSavingTimeOffsetForDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-initWithName$">-initWithName:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-initWithName$data$">-initWithName:data:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-isDaylightSavingTime">-isDaylightSavingTime</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-isDaylightSavingTimeForDate$">-isDaylightSavingTimeForDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-isEqualToTimeZone$">-isEqualToTimeZone:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-localizedName$locale$">-localizedName:locale:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-name">-name</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-nextDaylightSavingTimeTransition">-nextDaylightSavingTimeTransition</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-nextDaylightSavingTimeTransitionAfterDate$">-nextDaylightSavingTimeTransitionAfterDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-secondsFromGMT">-secondsFromGMT</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-secondsFromGMTForDate$">-secondsFromGMTForDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-timeZoneDetailArray">-timeZoneDetailArray</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-timeZoneDetailForDate$">-timeZoneDetailForDate:</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZone-timeZoneName">-timeZoneName</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$NSTimeZone+abbreviationDictionary">abbreviationDictionary </a></h3>
+ (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>abbreviationDictionary</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a dictionary containing time zone
abbreviations and their corresponding time
zone names. More than one time zone may be associated
with a single abbreviation. In this case, the
dictionary contains only one (usually the most
common) time zone name for the abbreviation.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+abbreviationMap">abbreviationMap </a></h3>
+ (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>abbreviationMap</b>;<br />
<div class="availability">
<b>Availability:</b> Not in OpenStep/MacOS-X</div>
<br />
<div class="desc">
Returns a dictionary that maps abbreviations to the
array containing all the time zone names that use the
abbreviation.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+defaultTimeZone">defaultTimeZone </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>defaultTimeZone</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Return the default time zone for this process.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+knownTimeZoneNames">knownTimeZoneNames </a></h3>
+ (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>knownTimeZoneNames</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns an array of all known time zone names.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+localTimeZone">localTimeZone </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>localTimeZone</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Return a proxy to the default time zone for this
process.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+resetSystemTimeZone">resetSystemTimeZone </a></h3>
+ (void) <b>resetSystemTimeZone</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Destroy the system time zone so that it will be
recreated next time it is used.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+setDefaultTimeZone$">setDefaultTimeZone: </a></h3>
+ (void) <b>setDefaultTimeZone:</b> (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*)aTimeZone;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Set the default time zone to be used for this process.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+systemTimeZone">systemTimeZone </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>systemTimeZone</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the current system time zone for the
process.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+timeZoneArray">timeZoneArray </a></h3>
+ (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>timeZoneArray</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns an array of all the known regions. <br />
There are 24 elements, of course, one for each time
zone. Each element contains an array of NSStrings
which are the region names.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+timeZoneForSecondsFromGMT$">timeZoneForSecondsFromGMT: </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>timeZoneForSecondsFromGMT:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>)seconds;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Return a timezone for the specified offset from GMT.
<br /> The timezone returned does <em>not</em> use
daylight savings time. The actual timezone
returned has an offset rounded to the nearest
minute. <br /> Time zones with an offset of more
than +/- 18 hours are disallowed, and <code>nil</code>
is returned.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+timeZoneWithAbbreviation$">timeZoneWithAbbreviation: </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>timeZoneWithAbbreviation:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)abbreviation;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a timezone for the specified
<var>abbreviation</var>. The same abbreviations are
used in different regions so this isn't particularly
useful. <br /> Calls NSTimeZone-abbreviation
dictionary an so uses a lot of memory.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+timeZoneWithName$">timeZoneWithName: </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>timeZoneWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aTimeZoneName;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
Returns a timezone for the specified name.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone+timeZoneWithName$data$">timeZoneWithName: data: </a></h3>
+ (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*) <b>timeZoneWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> data:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)data;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns a timezone for aTimeZoneName, created from
the supplied time zone <var>data</var>. Data must be in
TZ format as per the Olson database.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-abbreviation">abbreviation </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>abbreviation</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the abbreviation for this timezone now.
Invokes
<a rel="gsdoc" href="#method$NSTimeZone-abbreviationForDate$">
-abbreviationForDate:
</a>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-abbreviationForDate$">abbreviationForDate: </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>abbreviationForDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)aDate;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the abbreviation for this timezone at
<var>aDate</var>. This may differ depending on
whether daylight savings time is in effect or not.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-data">data </a></h3>
- (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*) <b>data</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the data with which the receiver was
initialised.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-daylightSavingTimeOffset">daylightSavingTimeOffset </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>daylightSavingTimeOffset</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-daylightSavingTimeOffsetForDate$">daylightSavingTimeOffsetForDate: </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>daylightSavingTimeOffsetForDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)aDate;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-initWithName$">initWithName: </a></h3>
- (id) <b>initWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Initialise a timezone with the supplied
<var>name</var>. May return a cached timezone object
rather than the newly created one.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-initWithName$data$">initWithName: data: </a></h3>
- (id) <b>initWithName:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> data:</b> (<a rel="gsdoc" href="NSData.html#class$NSData">NSData</a>*)data;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Initialises a time zone object using the
supplied <var>data</var> object. <br /> This
method is intended for internal use by the
NSTimeZone class cluster. Don't use it... use
<a rel="gsdoc" href="#method$NSTimeZone-initWithName$">
-initWithName:
</a>
instead.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-isDaylightSavingTime">isDaylightSavingTime </a></h3>
- (BOOL) <b>isDaylightSavingTime</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns a boolean indicating whether daylight
savings time is in effect now. Invokes
<a rel="gsdoc" href="#method$NSTimeZone-isDaylightSavingTimeForDate$">
-isDaylightSavingTimeForDate:
</a>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-isDaylightSavingTimeForDate$">isDaylightSavingTimeForDate: </a></h3>
- (BOOL) <b>isDaylightSavingTimeForDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)aDate;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns a boolean indicating whether daylight
savings time is in effect for this time zone at
<var>aDate</var>.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-isEqualToTimeZone$">isEqualToTimeZone: </a></h3>
- (BOOL) <b>isEqualToTimeZone:</b> (<a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a>*)aTimeZone;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns <code>YES</code> if the time zones have the
same name.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-localizedName$locale$">localizedName: locale: </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>localizedName:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTimeZoneNameStyle">NSTimeZoneNameStyle</a>)style<b> locale:</b> (NSLocale*)locale;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
<div class="desc">
<em>Description forthcoming.</em>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-name">name </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>name</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the name of the timezone
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-nextDaylightSavingTimeTransition">nextDaylightSavingTimeTransition </a></h3>
- (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*) <b>nextDaylightSavingTimeTransition</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
<div class="desc">
Not implemented
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-nextDaylightSavingTimeTransitionAfterDate$">nextDaylightSavingTimeTransitionAfterDate: </a></h3>
- (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*) <b>nextDaylightSavingTimeTransitionAfterDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)aDate;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.5.0</div>
<br />
<div class="desc">
Not implemented
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-secondsFromGMT">secondsFromGMT </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>secondsFromGMT</b>;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the number of seconds by which the receiver
differs from Greenwich Mean Time at the current
date and time. <br /> Invokes
<a rel="gsdoc" href="#method$NSTimeZone-secondsFromGMTForDate$">
-secondsFromGMTForDate:
</a>
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-secondsFromGMTForDate$">secondsFromGMTForDate: </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>secondsFromGMTForDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)aDate;<br />
<div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the number of seconds by which the receiver
differs from Greenwich Mean Time at the date
<var>aDate</var>. <br /> If the time zone uses
daylight savings time, the returned value will
vary at different times of year.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-timeZoneDetailArray">timeZoneDetailArray </a></h3>
- (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>timeZoneDetailArray</b>;<br />
<div class="availability">
<b>Availability:</b> OpenStep</div>
<br />
<div class="desc">
DEPRECATED: see NSTimeZoneDetail
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-timeZoneDetailForDate$">timeZoneDetailForDate: </a></h3>
- (<a rel="gsdoc" href="#class$NSTimeZoneDetail">NSTimeZoneDetail</a>*) <b>timeZoneDetailForDate:</b> (<a rel="gsdoc" href="NSDate.html#class$NSDate">NSDate</a>*)date;<br />
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
DEPRECATED: see NSTimeZoneDetail
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZone-timeZoneName">timeZoneName </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>timeZoneName</b>;<br />
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
Returns the name of this timezone.
</div>
<hr width="25%" align="left" />
</div>
<h1><a name="002000000000">
Software documentation for the NSTimeZoneDetail class
</a></h1>
<h2><a name="class$NSTimeZoneDetail">NSTimeZoneDetail</a> : <a rel="gsdoc" href="#class$NSTimeZone">NSTimeZone</a></h2>
<blockquote class="declared">
<dl>
<dt><b>Declared in:</b></dt>
<dd>Foundation/NSTimeZone.h</dd>
</dl>
</blockquote>
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
This class serves no useful purpose in GNUstep other
than to provide a backup mechanism for handling
abbreviations where the precomputed data files
cannot be found. It is provided primarily for backward
compatibility with the OpenStep spec. It is
missing entirely from MacOS-X.
</div>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZoneDetail-isDaylightSavingTimeZone">-isDaylightSavingTimeZone</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZoneDetail-timeZoneAbbreviation">-timeZoneAbbreviation</a></li>
<li><a rel="gsdoc" href="NSTimeZone.html#method$NSTimeZoneDetail-timeZoneSecondsFromGMT">-timeZoneSecondsFromGMT</a></li>
</ul>
<hr width="50%" align="left" />
<div class="method">
<h3><a name="method$NSTimeZoneDetail-isDaylightSavingTimeZone">isDaylightSavingTimeZone </a></h3>
- (BOOL) <b>isDaylightSavingTimeZone</b>;<br />
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
DEPRECATED: <strong>Class</strong> is no longer
used.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZoneDetail-timeZoneAbbreviation">timeZoneAbbreviation </a></h3>
- (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>timeZoneAbbreviation</b>;<br />
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
DEPRECATED: <strong>Class</strong> is no longer
used.
</div>
<hr width="25%" align="left" />
</div>
<div class="method">
<h3><a name="method$NSTimeZoneDetail-timeZoneSecondsFromGMT">timeZoneSecondsFromGMT </a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>timeZoneSecondsFromGMT</b>;<br />
<div class="availability">
<b>Availability:</b> OPENSTEP 4.0.0 removed at MacOS-X 10.0.0</div>
<br />
<div class="desc">
DEPRECATED: <strong>Class</strong> is no longer
used.
</div>
<hr width="25%" align="left" />
</div>
<br />
<a href="Base.html">Up</a>
</font>
</body>
</html>
|