| getTimeZoneIDs |
([int zoneoffset]) |
yoix.util |
| |
Returns an array of string IDs for timezones known to Yoix.
The list is restricted to those with
the given
zoneoffset,
if it is supplied.
| |
| Example: |
The following example prints the date in all the timezones known to Yoix:
import yoix.stdio.*;
import yoix.util.*;
int i;
Array zones = getTimeZoneIDs();
for(i = 0; i < zones@length; i++)
printf("%s ==> %s\n", zones[i], date(getTimeZone(zones[i])));
A portion of the results on standard output might look like:
Africa/Porto-Novo ==> Mon Apr 15 19:24:25 WAT 2002
Africa/Tunis ==> Mon Apr 15 19:24:25 CET 2002
Africa/Windhoek ==> Mon Apr 15 19:24:25 WAT 2002
ECT ==> Mon Apr 15 20:24:25 CEST 2002
Europe/Amsterdam ==> Mon Apr 15 20:24:25 CEST 2002
Europe/Andorra ==> Mon Apr 15 20:24:25 CEST 2002
Europe/Belgrade ==> Mon Apr 15 20:24:25 CEST 2002
Europe/Berlin ==> Mon Apr 15 20:24:25 CEST 2002
| | |
| Return: |
Array
| | |
| See Also: |
getTimeZone,
inDaylightTime,
setTimeZone,
TimeZone
|
|
Yoix is a registered trademark of AT&T Inc.
|