autodoc.git/
autodoc.xml
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-02
2000-08-02 11:13:15 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
2ba19d09cdf40780b440ccc029b2e7c94e755d36 (
64
lines) (+
64
/-
0
)
[
Show
|
Annotate
]
Branch:
8.0
...
Rev: lib/modules/Calendar.pmod/TZnames.pmod:1.2
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.4
2090:
<module name='TZnames'> <doc> <text>
+
<p>This module contains listnings of available timezones,
+
in some different ways
+
</p>
+
<p>This module is a mapping of the names of all the geographical (political) based timezones. It looks mainly like
2106:
<p>The Posix and standard timezones (like CET, PST8PDT, etc) are not listed.</p> </text>
+
<group><note/><text>
+
<p>Loading all the timezones can take some time, since
+
they are generated and compiled on the fly.
+
Just because it's noted "CST" doesn't mean it's a
+
unique timezone. There is about 7 *different* timezones that
+
uses "CST" as abbreviation; not at the same time,
+
though, so the DWIM routines checks this before
+
it's satisfied. Same with some other timezones.</p>
-
+
<p>For most timezones, there is a number of region timezones that for the
+
given time are equal. This is because region timezones include rules
+
about local summer time shifts and possible historic shifts.</p>
+
</text></group>
+
+
+
+
</doc>
-
+
<docgroup homogen-name='abbr2zones' homogen-type='constant'>
+
<constant name='abbr2zones'><typevalue>
+
<mapping><indextype><string/></indextype>
+
<valuetype>
+
<array><valuetype><string/></valuetype></array></valuetype></mapping></typevalue>
+
</constant><doc>
+
<text>
+
<p>This mapping is used to look up abbreviation
+
to the possible regional zones.</p>
+
+
<p>It looks like this:
+
<pre>
+
([ "CET": ({ "Europe/Stockholm", <i>[...]</i> }),
+
"CST": ({ "America/Chicago", "Australia/Adelaide", <i>[...]</i> }),
+
<i>[...]</i> }),
+
</pre>
+
</p>
+
</text>
+
+
</doc>
+
</docgroup>
+
<docgroup homogen-name='zones' homogen-type='constant'>
+
<constant name='zones'><typevalue>
+
<mapping><indextype><string/></indextype>
+
<valuetype>
+
<array><valuetype><string/></valuetype></array></valuetype></mapping></typevalue>
+
</constant><doc>
+
<text>
+
<p>This constant is a mapping that can be
+
used to loop over to get all the region-based
+
timezones.</p>
+
+
<p>It looks like this:
+
<pre>
+
([ "America": ({ "Los_Angeles", "Chicago", <i>[...]</i> }),
+
"Europe": ({ "Stockholm", <i>[...]</i> }),
+
<i>[...]</i> }),
+
</pre>
+
</p>
+
</text>
+
+
</doc>
+
</docgroup>
</module> <module name='Time'> <doc>