mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-02 04:41:05 +00:00
19 lines
449 B
Mathematica
19 lines
449 B
Mathematica
|
/* Test time zone code. */
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <Foundation/NSArray.h>
|
||
|
#include <Foundation/NSDate.h>
|
||
|
#include <Foundation/NSDictionary.h>
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
id detail;
|
||
|
|
||
|
printf("time zones for PST:\n%@\n",
|
||
|
[[[NSTimeZone abbreviationMap] objectForKey: @"PST"] description]);
|
||
|
printf("time zones:\n%@\n", [[NSTimeZone timeZoneArray] description]);
|
||
|
printf("local time zone:\n%@\n", [[NSTimeZone localTimeZone] description]);
|
||
|
return 0;
|
||
|
}
|