2018-03-15 22:01:56 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- $Revision$ -->
|
|
|
|
|
|
|
|
<refentry xml:id="intltimezone.getwindowsid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>IntlTimeZone::getWindowsID</refname>
|
2020-11-25 13:28:01 +00:00
|
|
|
<refname>intltz_get_windows_id</refname>
|
2018-03-15 22:01:56 +00:00
|
|
|
<refpurpose>Translate a system timezone into a Windows timezone</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2020-11-25 13:28:01 +00:00
|
|
|
<para>&style.oop; (method):</para>
|
2018-03-15 22:01:56 +00:00
|
|
|
<methodsynopsis>
|
2020-11-02 15:52:35 +00:00
|
|
|
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlTimeZone::getWindowsID</methodname>
|
2018-03-15 22:01:56 +00:00
|
|
|
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
2020-11-25 13:28:01 +00:00
|
|
|
<para>&style.procedural;:</para>
|
|
|
|
<methodsynopsis role="procedural">
|
|
|
|
<type class="union"><type>string</type><type>false</type></type><methodname>intltz_get_windows_id</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>timezone</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
2018-03-15 22:01:56 +00:00
|
|
|
<para>
|
|
|
|
Translates a system timezone (e.g. "America/Los_Angeles") into a Windows timezone (e.g. "Pacific Standard Time").
|
|
|
|
</para>
|
2018-04-27 14:54:11 +00:00
|
|
|
<note>
|
|
|
|
<simpara>
|
|
|
|
This function requires ICU version ≥ 52.
|
|
|
|
</simpara>
|
|
|
|
</note>
|
2018-03-15 22:01:56 +00:00
|
|
|
|
|
|
|
&warn.undocumented.func;
|
|
|
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>timezone</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
Returns the Windows timezone&return.falseforfailure;.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><methodname>IntlTimeZone::getIDForWindowsID</methodname></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|