svn: /phpdoc/ja/trunk/reference/intl/ dateformatter-constants.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 07 Dec 2020 08:25:14 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351944

Log:
Add new IntlDateFormatter constants

Closes GH-267.

Changed paths:
    U   phpdoc/ja/trunk/reference/intl/dateformatter-constants.xml

Modified: phpdoc/ja/trunk/reference/intl/dateformatter-constants.xml
===================================================================
--- phpdoc/ja/trunk/reference/intl/dateformatter-constants.xml	2020-12-07 08:22:55 UTC (rev 351943)
+++ phpdoc/ja/trunk/reference/intl/dateformatter-constants.xml	2020-12-07 08:25:14 UTC (rev 351944)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351133 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351939 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
 <section xml:id="intl.intldateformatter-constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.constants;

@@ -53,6 +54,70 @@
      <simpara>不可欠なデータのみを扱う最も省略した形式 (12/13/52 あるいは 3:30pm)</simpara>
     </listitem>
    </varlistentry>
+   <varlistentry xml:id="intldateformatter.constants.relative_full">
+    <term>
+     <constant>IntlDateFormatter::RELATIVE_FULL</constant>
+     (<type>int</type>)
+    </term>
+    <listitem>
+     <simpara>
+      <constant>IntlDateFormatter::FULL</constant> と同じですが、
+      昨日、今日、明日についてはそれぞれ、
+      <literal>yesterday</literal>,
+      <literal>today</literal>,
+      <literal>tomorrow</literal> になります。
+      PHP 8.0.0 以降で、<parameter>dateType</parameter> に限って利用可能です。
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry xml:id="intldateformatter.constants.relative_long">
+    <term>
+     <constant>IntlDateFormatter::RELATIVE_LONG</constant>
+     (<type>int</type>)
+    </term>
+    <listitem>
+     <simpara>
+      <constant>IntlDateFormatter::LONG</constant> と同じですが、
+      昨日、今日、明日についてはそれぞれ、
+      <literal>yesterday</literal>,
+      <literal>today</literal>,
+      <literal>tomorrow</literal> になります。
+      PHP 8.0.0 以降で、<parameter>dateType</parameter> に限って利用可能です。
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry xml:id="intldateformatter.constants.relative_medium">
+    <term>
+     <constant>IntlDateFormatter::RELATIVE_MEDIUM</constant>
+     (<type>int</type>)
+    </term>
+    <listitem>
+     <simpara>
+      <constant>IntlDateFormatter::MEDIUM</constant> と同じですが、
+      昨日、今日、明日についてはそれぞれ、
+      <literal>yesterday</literal>,
+      <literal>today</literal>,
+      <literal>tomorrow</literal> になります。
+      PHP 8.0.0 以降で、<parameter>dateType</parameter> に限って利用可能です。
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry xml:id="intldateformatter.constants.relative_short">
+    <term>
+     <constant>IntlDateFormatter::RELATIVE_SHORT</constant>
+     (<type>int</type>)
+    </term>
+    <listitem>
+     <simpara>
+      <constant>IntlDateFormatter::SHORT</constant> と同じですが、
+      昨日、今日、明日についてはそれぞれ、
+      <literal>yesterday</literal>,
+      <literal>today</literal>,
+      <literal>tomorrow</literal> になります。
+      PHP 8.0.0 以降で、<parameter>dateType</parameter> に限って利用可能です。
+     </simpara>
+    </listitem>
+   </varlistentry>
   </variablelist>
  </para>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.