com doc/ja: datefmt_set_timezone_id() is removed as of PHP 7.0.0: reference/intl/dateform atter/set-timezone-id.xml
| From: | Yoshinari Takaoka | Date: | Sat, 13 Feb 2021 16:48:15 +0000 |
| Subject: | com doc/ja: datefmt_set_timezone_id() is removed as of PHP 7.0.0: reference/intl/dateform atter/set-timezone-id.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6176@lists.php.net to get a copy of this message | ||
Commit: 742a5e030c609993ab30f60bc0ba6f3dc03af9df
Author: Yoshinari Takaoka <mumumu@mumumu.org> Sun, 14 Feb 2021 01:48:15 +0900
Parents: 36d73126291d616a22cb815dbd90d031ff2631d1
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=742a5e030c609993ab30f60bc0ba6f3dc03af9df
Log:
datefmt_set_timezone_id() is removed as of PHP 7.0.0
Changed paths:
D reference/intl/dateformatter/set-timezone-id.xml
Diff:
diff --git a/reference/intl/dateformatter/set-timezone-id.xml
b/reference/intl/dateformatter/set-timezone-id.xml
deleted file mode 100644
index 268f7403d0..0000000000
--- a/reference/intl/dateformatter/set-timezone-id.xml
+++ /dev/null
@@ -1,186 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 0e9f78e1a585c94eb32d1b88e64e13b74f262c9a Maintainer: takagi Status: ready
-->
-<refentry xml:id="intldateformatter.settimezoneid" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>IntlDateFormatter::setTimeZoneId</refname>
- <refname>datefmt_set_timezone_id</refname>
- <refpurpose>使用するタイムゾーンを設定する</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv>
- <warning>
- &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives;
- <simplelist role="alternatives">
- <member><function>IntlDateFormatter::setTimeZone</function></member>
- </simplelist>
- </warning>
- </refsynopsisdiv>
-
- <refsect1 role="description">
- &reftitle.description;
- <para>
- &style.oop;
- </para>
- <methodsynopsis>
- <modifier>public</modifier>
<type>bool</type><methodname>IntlDateFormatter::setTimeZoneId</methodname>
-
<methodparam><type>string</type><parameter>zone</parameter></methodparam>
- </methodsynopsis>
- <para>
- &style.procedural;
- </para>
- <methodsynopsis>
- <type>bool</type><methodname>datefmt_set_timezone_id</methodname>
-
<methodparam><type>IntlDateFormatter</type><parameter>fmt</parameter></methodparam>
-
<methodparam><type>string</type><parameter>zone</parameter></methodparam>
- </methodsynopsis>
- <para>
- 使用するタイムゾーンを設定します。
- </para>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>fmt</parameter></term>
- <listitem>
- <para>
- Formatter リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>zone</parameter></term>
- <listitem>
- <para>
- 使用するタイムゾーンのゾーン ID 文字列。
- &null; あるいは空文字列を指定すると、
- 実行時のデフォルトタイムゾーンを使用します。
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- &return.success;
- </para>
- </refsect1>
-
- <refsect1 role="changelog">
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>7.0.0</entry>
- <entry>
- この関数は削除されました。
- </entry>
- </row>
- <row>
- <entry>5.5.0</entry>
- <entry>
- この関数は非推奨になりました。
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <example>
- <title><function>datefmt_set_timezone_id</function> の例</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$fmt = datefmt_create(
- 'en_US',
- IntlDateFormatter::FULL,
- IntlDateFormatter::FULL,
- 'America/Los_Angeles',
- IntlDateFormatter::GREGORIAN
-);
-echo 'timezone_id of the formatter is : ' . datefmt_get_timezone_id($fmt);
-datefmt_set_timezone_id($fmt, 'CN');
-echo 'Now timezone_id of the formatter is : ' . datefmt_get_timezone_id($fmt);
-?>
-]]>
- </programlisting>
- </example>
- <example>
- <title>オブジェクト指向の例</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$fmt = new IntlDateFormatter(
- 'en_US',
- IntlDateFormatter::FULL,
- IntlDateFormatter::FULL,
- 'America/Los_Angeles',
- IntlDateFormatter::GREGORIAN
-);
-echo 'timezone_id of the formatter is : ' . $fmt->getTimezoneId();
-$fmt->setTimezoneId('CN');
-echo 'Now timezone_id of the formatter is : ' . $fmt->getTimezoneId();
-
-?>
-]]>
- </programlisting>
- </example>
- &example.outputs;
- <screen>
- <![CDATA[
-timezone_id of the formatter is : America/Los_Angeles
-Now timezone_id of the formatter is : CN
-]]>
- </screen>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><function>datefmt_get_timezone_id</function></member>
- <member><function>datefmt_create</function></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
--->